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.001351/0.001351, allocations: 101.8 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.748/1.748, allocations: 292.3 MB / 0.5495 GB, free: 17.43 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.001603/0.001603, allocations: 75.88 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.234, allocations: 114.5 MB / 0.784 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.00494/0.239, allocations: 2.825 MB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4106/0.6496, allocations: 1.274 MB / 0.788 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004968/0.6502, allocations: 14.94 kB / 0.788 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.6507, allocations: 141.1 kB / 0.7882 GB, free: 45.92 MB / 0.6544 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.0003687/0.6511, allocations: 141.7 kB / 0.7883 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006069/0.6517, allocations: 280.6 kB / 0.7886 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.6521, allocations: 474.9 kB / 0.789 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003019/0.6525, allocations: 202 kB / 0.7892 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.6527, allocations: 182.9 kB / 0.7894 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.6529, allocations: 198.5 kB / 0.7896 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.6529, allocations: 38.34 kB / 0.7896 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.6531, allocations: 77.88 kB / 0.7897 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.672e-05/0.6532, allocations: 94.28 kB / 0.7898 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.6533, allocations: 184.2 kB / 0.79 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.6538, allocations: 0.5149 MB / 0.7905 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.6538, allocations: 0 / 0.7905 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6538, allocations: 0.5625 kB / 0.7905 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.6539, allocations: 0 / 0.7905 GB, free: 45.66 MB / 0.6544 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.0009296/0.6548, allocations: 0.7041 MB / 0.7912 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.6548, allocations: 12.34 kB / 0.7912 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.123e-05/0.6549, allocations: 45.38 kB / 0.7912 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.6554, allocations: 396.7 kB / 0.7916 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.6554, allocations: 21.03 kB / 0.7916 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.6555, allocations: 24.78 kB / 0.7916 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.6559, allocations: 279.3 kB / 0.7919 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.6559, allocations: 0 / 0.7919 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.656, allocations: 7.188 kB / 0.7919 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.656, allocations: 5.906 kB / 0.7919 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.6564, allocations: 189.6 kB / 0.7921 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.6575, allocations: 0.882 MB / 0.793 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006761/0.6582, allocations: 237.3 kB / 0.7932 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.6584, allocations: 93.19 kB / 0.7933 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.6584, allocations: 4.062 kB / 0.7933 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/0.6587, allocations: 130.2 kB / 0.7934 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.914e-06/0.6588, allocations: 0 / 0.7934 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0006401/0.6594, allocations: 294.3 kB / 0.7937 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.6594, allocations: 58.17 kB / 0.7937 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.6598, allocations: 410.5 kB / 0.7941 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.6598, allocations: 29.02 kB / 0.7942 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.6599, allocations: 219.2 kB / 0.7944 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.66, allocations: 61.03 kB / 0.7944 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.6601, allocations: 53.52 kB / 0.7945 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.6601, allocations: 345.6 kB / 0.7948 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.6603, allocations: 71.48 kB / 0.7949 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.6605, allocations: 119.6 kB / 0.795 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.6608, allocations: 186.9 kB / 0.7952 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6608, allocations: 3.469 kB / 0.7952 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004298/0.6613, allocations: 257.2 kB / 0.7954 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6613, allocations: 3.438 kB / 0.7954 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6613, allocations: 3.469 kB / 0.7954 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.6613, allocations: 0 / 0.7954 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.6615, allocations: 50 kB / 0.7955 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.6616, allocations: 5.156 kB / 0.7955 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.6617, allocations: 24.3 kB / 0.7955 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.6617, allocations: 4.906 kB / 0.7955 GB, free: 43.49 MB / 0.6544 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.0001425/0.6619, allocations: 178.8 kB / 0.7957 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.6619, allocations: 41.03 kB / 0.7957 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.655e-05/0.662, allocations: 40.44 kB / 0.7958 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.662, allocations: 7.094 kB / 0.7958 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.662, allocations: 0 / 0.7958 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.662, allocations: 0.6562 kB / 0.7958 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007754/0.6628, allocations: 0.6785 MB / 0.7964 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.6628, allocations: 0.5938 kB / 0.7964 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.663, allocations: 33.2 kB / 0.7965 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.663, allocations: 7.5 kB / 0.7965 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.663, allocations: 6.031 kB / 0.7965 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.663, allocations: 8.875 kB / 0.7965 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.663, allocations: 0.5625 kB / 0.7965 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006076/0.6637, allocations: 418 kB / 0.7969 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.517e-05/0.6638, allocations: 128.8 kB / 0.797 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.6638, allocations: 11.28 kB / 0.797 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.664, allocations: 10.33 kB / 0.797 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.664, allocations: 20.17 kB / 0.797 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.6641, allocations: 11.73 kB / 0.797 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002297/0.6643, allocations: 292.1 kB / 0.7973 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6643, allocations: 0 / 0.7973 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003351/0.6647, allocations: 61.62 kB / 0.7974 GB, free: 42.66 MB / 0.6544 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.0009647/0.6656, allocations: 424.1 kB / 0.7978 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.6661, allocations: 184.8 kB / 0.798 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6661, allocations: 1.969 kB / 0.798 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.6663, allocations: 97.22 kB / 0.7981 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.6669, allocations: 86.89 kB / 0.7981 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.6679, allocations: 0.6539 MB / 0.7988 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.6682, allocations: 0.7973 MB / 0.7996 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.361e-05/0.6683, allocations: 35.16 kB / 0.7996 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.6683, allocations: 0 / 0.7996 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.009613/0.6779, allocations: 4.7 MB / 0.8042 GB, free: 41.05 MB / 0.6544 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)