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.001328/0.001329, allocations: 109.1 kB / 16.38 MB, free: 6.484 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.001364/0.001364, allocations: 190.7 kB / 17.32 MB, free: 5.816 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.573/1.573, allocations: 205.1 MB / 223.2 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.794/1.794, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001598/0.001598, allocations: 76.11 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2312, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004777/0.236, allocations: 2.831 MB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4046/0.6406, allocations: 1.272 MB / 0.7888 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.6409, allocations: 13.44 kB / 0.7888 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.6414, allocations: 149 kB / 0.789 GB, free: 46.5 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.0003054/0.6417, allocations: 140.7 kB / 0.7891 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.6422, allocations: 275.5 kB / 0.7894 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.6426, allocations: 477.4 kB / 0.7898 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.6429, allocations: 200.8 kB / 0.79 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.6431, allocations: 190.7 kB / 0.7902 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.6433, allocations: 194.4 kB / 0.7904 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.6434, allocations: 37.59 kB / 0.7904 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.6435, allocations: 78.11 kB / 0.7905 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.6436, allocations: 98.27 kB / 0.7906 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.6437, allocations: 183.1 kB / 0.7908 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.6441, allocations: 0.5214 MB / 0.7913 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6441, allocations: 0 / 0.7913 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6441, allocations: 3.281 kB / 0.7913 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.6441, allocations: 0 / 0.7913 GB, free: 46.23 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.0008581/0.645, allocations: 0.7045 MB / 0.792 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.6451, allocations: 9.781 kB / 0.792 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.6451, allocations: 48.81 kB / 0.792 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.6456, allocations: 411.6 kB / 0.7924 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.6456, allocations: 21.75 kB / 0.7924 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.6457, allocations: 28.56 kB / 0.7925 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.6461, allocations: 269.4 kB / 0.7927 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.6461, allocations: 4.188 kB / 0.7927 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.6462, allocations: 8.719 kB / 0.7927 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.6462, allocations: 6.562 kB / 0.7927 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.6466, allocations: 181 kB / 0.7929 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.6477, allocations: 0.8837 MB / 0.7938 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.6484, allocations: 225.6 kB / 0.794 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.6486, allocations: 87.28 kB / 0.7941 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.6486, allocations: 7.969 kB / 0.7941 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.6489, allocations: 132.6 kB / 0.7942 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.6489, allocations: 0 / 0.7942 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0006417/0.6495, allocations: 296.4 kB / 0.7945 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.6496, allocations: 52 kB / 0.7945 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.6499, allocations: 417.3 kB / 0.7949 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.6499, allocations: 29.52 kB / 0.795 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/0.65, allocations: 216 kB / 0.7952 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.6501, allocations: 59.59 kB / 0.7952 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.6501, allocations: 52.64 kB / 0.7953 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.6502, allocations: 351.4 kB / 0.7956 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.6504, allocations: 72.47 kB / 0.7957 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.6506, allocations: 114.2 kB / 0.7958 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.6509, allocations: 190.6 kB / 0.796 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.6509, allocations: 0 / 0.796 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004332/0.6513, allocations: 254.9 kB / 0.7962 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.6514, allocations: 6.969 kB / 0.7962 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6514, allocations: 3.5 kB / 0.7962 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.6514, allocations: 6.406 kB / 0.7962 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.6516, allocations: 46.16 kB / 0.7963 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6516, allocations: 3.406 kB / 0.7963 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.6518, allocations: 21.31 kB / 0.7963 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.6518, allocations: 10.75 kB / 0.7963 GB, free: 44.06 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.0001305/0.6519, allocations: 177.2 kB / 0.7965 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.652, allocations: 37.38 kB / 0.7965 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.078e-05/0.6521, allocations: 43.31 kB / 0.7965 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6521, allocations: 0 / 0.7965 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6521, allocations: 0 / 0.7965 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.449e-05/0.6522, allocations: 129.7 kB / 0.7967 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.6522, allocations: 10.44 kB / 0.7967 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.6523, allocations: 10.33 kB / 0.7967 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.6524, allocations: 20.47 kB / 0.7967 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005289/0.653, allocations: 299 kB / 0.797 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006457/0.6536, allocations: 0.4964 MB / 0.7975 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000173/0.6538, allocations: 90.16 kB / 0.7976 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002306/0.654, allocations: 296.2 kB / 0.7978 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of Backend: time 5.71e-07/0.654, allocations: 0 / 0.7978 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.6556, allocations: 0.5554 MB / 0.7984 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001059/0.6567, allocations: 1.081 MB / 0.7994 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.009143/0.6659, allocations: 4.205 MB / 0.8035 GB, free: 41.95 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)