Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 193.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 65.8 kB / 0.6715 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2524, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004574/0.257, allocations: 2.83 MB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.2595, allocations: 1.271 MB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.2598, allocations: 11.94 kB / 0.7874 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.2603, allocations: 147.2 kB / 0.7875 GB, free: 9.176 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.2606, allocations: 135.2 kB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.2612, allocations: 290.7 kB / 0.7879 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.2617, allocations: 475.5 kB / 0.7884 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.262, allocations: 190.8 kB / 0.7886 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.2623, allocations: 191.2 kB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.2625, allocations: 199 kB / 0.7889 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.2626, allocations: 36 kB / 0.789 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.2627, allocations: 79.98 kB / 0.7891 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2628, allocations: 95.69 kB / 0.7891 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.263, allocations: 186.8 kB / 0.7893 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005196/0.2635, allocations: 0.5101 MB / 0.7898 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2635, allocations: 0 / 0.7898 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2635, allocations: 0 / 0.7898 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.2636, allocations: 4 kB / 0.7898 GB, free: 6.812 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001025/0.2646, allocations: 0.7087 MB / 0.7905 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2646, allocations: 8.031 kB / 0.7905 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.534e-05/0.2647, allocations: 48.38 kB / 0.7906 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.2652, allocations: 390.8 kB / 0.7909 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.2653, allocations: 24.88 kB / 0.791 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.2653, allocations: 28.12 kB / 0.791 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/0.2658, allocations: 271.7 kB / 0.7913 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2658, allocations: 0 / 0.7913 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.2658, allocations: 11.94 kB / 0.7913 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2659, allocations: 4 kB / 0.7913 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.2663, allocations: 190.2 kB / 0.7914 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.2675, allocations: 0.884 MB / 0.7923 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.2682, allocations: 227.9 kB / 0.7925 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.2684, allocations: 92.75 kB / 0.7926 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.2685, allocations: 3.984 kB / 0.7926 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/0.2688, allocations: 142.2 kB / 0.7928 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.2688, allocations: 0 / 0.7928 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0006806/0.2695, allocations: 297 kB / 0.793 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.2696, allocations: 51.41 kB / 0.7931 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.27, allocations: 413.6 kB / 0.7935 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.27, allocations: 33.69 kB / 0.7935 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.2702, allocations: 208.2 kB / 0.7937 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.2702, allocations: 67.08 kB / 0.7938 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.732e-05/0.2703, allocations: 49.94 kB / 0.7938 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2705, allocations: 354.7 kB / 0.7942 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.2706, allocations: 72.44 kB / 0.7942 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.2708, allocations: 111.2 kB / 0.7943 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.2712, allocations: 191.4 kB / 0.7945 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2712, allocations: 4 kB / 0.7945 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004755/0.2717, allocations: 260.2 kB / 0.7948 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2717, allocations: 4 kB / 0.7948 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2718, allocations: 4 kB / 0.7948 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2718, allocations: 0 / 0.7948 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.272, allocations: 47.91 kB / 0.7948 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.272, allocations: 4 kB / 0.7948 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.2722, allocations: 31.7 kB / 0.7949 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2722, allocations: 12.16 kB / 0.7949 GB, free: 1.371 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.nextTimeEvent,$whenCondition1,reaToInt.y,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEvent,dxSpeCon.not1.y,$whenCondition2,dxSpeCon.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.2724, allocations: 168.8 kB / 0.795 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.2724, allocations: 39.53 kB / 0.7951 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.217e-05/0.2725, allocations: 39.59 kB / 0.7951 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2725, allocations: 0 / 0.7951 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2725, allocations: 4 kB / 0.7951 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2725, allocations: 3.938 kB / 0.7951 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008938/0.2734, allocations: 0.6767 MB / 0.7958 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2735, allocations: 0 / 0.7958 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.2736, allocations: 35.91 kB / 0.7958 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2736, allocations: 0 / 0.7958 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.2737, allocations: 7.938 kB / 0.7958 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2737, allocations: 4 kB / 0.7958 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2737, allocations: 0 / 0.7958 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.2744, allocations: 418.9 kB / 0.7962 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.2745, allocations: 136.5 kB / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.2746, allocations: 3.938 kB / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.2747, allocations: 11.98 kB / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.2748, allocations: 23.91 kB / 0.7964 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.2748, allocations: 8 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002694/0.2751, allocations: 295.2 kB / 0.7967 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2751, allocations: 0 / 0.7967 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000347/0.2755, allocations: 63.83 kB / 0.7967 GB, free: 15.36 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.not1.y,$whenCondition2,$whenCondition1,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,reaToInt.y) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009425/0.2764, allocations: 420.4 kB / 0.7971 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000477/0.2769, allocations: 192 kB / 0.7973 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2769, allocations: 0 / 0.7973 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.2771, allocations: 91.86 kB / 0.7974 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.2777, allocations: 91.89 kB / 0.7975 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.2788, allocations: 0.637 MB / 0.7981 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.2791, allocations: 0.7951 MB / 0.7989 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.2793, allocations: 38.97 kB / 0.7989 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.2794, allocations: 35.42 kB / 0.799 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2794, allocations: 4 kB / 0.799 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.007891/0.2873, allocations: 3.76 MB / 0.8026 GB, free: 9.461 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)