Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.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.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001035/0.001036, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.744/1.744, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001593/0.001594, allocations: 59.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.227, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.4127/0.6398, allocations: 4.635 MB / 0.7893 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004145/0.6439, allocations: 3.049 MB / 0.7923 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.6444, allocations: 28.88 kB / 0.7923 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.645, allocations: 237.6 kB / 0.7925 GB, free: 45.96 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.0008187/0.6459, allocations: 446.1 kB / 0.793 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.6474, allocations: 0.8264 MB / 0.7938 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.6485, allocations: 1.55 MB / 0.7953 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000523/0.649, allocations: 456 kB / 0.7957 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000564/0.6496, allocations: 0.6415 MB / 0.7963 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.6503, allocations: 0.6388 MB / 0.797 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.6504, allocations: 112.2 kB / 0.7971 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.6508, allocations: 301.4 kB / 0.7974 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.651, allocations: 283.7 kB / 0.7976 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.6514, allocations: 0.5869 MB / 0.7982 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.6529, allocations: 1.572 MB / 0.7997 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6529, allocations: 0 / 0.7997 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.225e-06/0.6529, allocations: 0 / 0.7997 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.653, allocations: 0 / 0.7997 GB, free: 43.26 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002716/0.6557, allocations: 1.735 MB / 0.8014 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/0.6558, allocations: 7.219 kB / 0.8014 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.6561, allocations: 146.6 kB / 0.8016 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.6576, allocations: 0.8923 MB / 0.8025 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.986e-05/0.6577, allocations: 61.97 kB / 0.8025 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.6578, allocations: 84.62 kB / 0.8026 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.6592, allocations: 0.7391 MB / 0.8033 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.6592, allocations: 4 kB / 0.8033 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.6593, allocations: 32.06 kB / 0.8034 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.6593, allocations: 17.31 kB / 0.8034 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009453/0.6603, allocations: 465.4 kB / 0.8038 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003681/0.6639, allocations: 2.175 MB / 0.8059 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.6653, allocations: 0.6946 MB / 0.8066 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.6658, allocations: 267.6 kB / 0.8069 GB, free: 39.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.6658, allocations: 15.53 kB / 0.8069 GB, free: 39.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007882/0.6666, allocations: 445.9 kB / 0.8073 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=81): time 2.494e-06/0.6667, allocations: 4 kB / 0.8073 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.002008/0.6687, allocations: 0.9778 MB / 0.8083 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/0.6688, allocations: 278.2 kB / 0.8085 GB, free: 38.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.6699, allocations: 0.8911 MB / 0.8094 GB, free: 38.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.598e-05/0.67, allocations: 57.73 kB / 0.8095 GB, free: 38.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.6703, allocations: 487 kB / 0.8099 GB, free: 37.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.6705, allocations: 229.5 kB / 0.8101 GB, free: 37.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.6708, allocations: 203.6 kB / 0.8103 GB, free: 37.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.6709, allocations: 345.9 kB / 0.8107 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.6714, allocations: 264.4 kB / 0.8109 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000781/0.6722, allocations: 0.554 MB / 0.8115 GB, free: 36.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.6734, allocations: 0.8235 MB / 0.8123 GB, free: 35.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.6734, allocations: 4.812 kB / 0.8123 GB, free: 35.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001864/0.6753, allocations: 1.067 MB / 0.8133 GB, free: 35.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/0.6753, allocations: 127 kB / 0.8134 GB, free: 35.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.6754, allocations: 6.031 kB / 0.8134 GB, free: 35.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/0.6754, allocations: 14.73 kB / 0.8134 GB, free: 35.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.6759, allocations: 155.2 kB / 0.8136 GB, free: 35.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.676, allocations: 12.23 kB / 0.8136 GB, free: 35.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.6766, allocations: 102.5 kB / 0.8137 GB, free: 35.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.6767, allocations: 52.52 kB / 0.8138 GB, free: 35.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007699/0.6775, allocations: 448.1 kB / 0.8142 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007592/0.6782, allocations: 0.5496 MB / 0.8147 GB, free: 34.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001083/0.6793, allocations: 0.806 MB / 0.8155 GB, free: 33.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.664e-06/0.6793, allocations: 1.094 kB / 0.8155 GB, free: 33.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization_lambda0): time 0.001855/0.6812, allocations: 1.059 MB / 0.8165 GB, free: 33.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.19e-05/0.6813, allocations: 126.8 kB / 0.8167 GB, free: 33.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.6813, allocations: 11.62 kB / 0.8167 GB, free: 33.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.6813, allocations: 13.66 kB / 0.8167 GB, free: 33.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.6818, allocations: 146.2 kB / 0.8168 GB, free: 33.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.6818, allocations: 15.81 kB / 0.8168 GB, free: 33.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/0.6825, allocations: 96.58 kB / 0.8169 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/0.6826, allocations: 44.27 kB / 0.817 GB, free: 33.23 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 68 (timSerRes.timeConverted,$PRE.timSerRes.timeConverted,timSerInp.timeConverted,$PRE.timSerInp.timeConverted,csvWriter.str,$PRE.csvWriter.str,$PRE.TOut_F.nextTimeEvent,$whenCondition10,$PRE.TSupSetpoint_F.nextTimeEvent,$whenCondition9,$PRE.coolingValveSignal.nextTimeEvent,$whenCondition8,$PRE.fanFeedback.nextTimeEvent,$whenCondition7,$PRE.fanStatus.nextTimeEvent,$whenCondition6,$PRE.TSupply_F.nextTimeEvent,$whenCondition5,timSerInp.sampleTrigger,timSerInp.tActivateLast,$PRE.timSerInp.tActivateLast,timSerInp.active,timSerRes.sampleTrigger,timSerRes.tActivateLast,$PRE.timSerRes.tActivateLast,timSerRes.active,correlation.sampleTrigger,correlation.tActivateLast,$PRE.correlation.tActivateLast,correlation.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition12,coolingValveSignal.nextTimeEventScaled,$PRE.coolingValveSignal.nextTimeEventScaled,coolingValveSignal.nextTimeEvent,greThr.y,cooValSta.cha.u,$PRE.cooValSta.cha.u,cooValSta.uFanFeeThr.y,$PRE.cooValSta.uFanFeeThr.y,cooValSta.TOutThr.y,$PRE.cooValSta.TOutThr.y,cooValSta.limPI.trigger,TSupply_F.nextTimeEventScaled,$PRE.TSupply_F.nextTimeEventScaled,TSupply_F.nextTimeEvent,fanStatus.nextTimeEventScaled,$PRE.fanStatus.nextTimeEventScaled,fanStatus.nextTimeEvent,fanFeedback.nextTimeEventScaled,$PRE.fanFeedback.nextTimeEventScaled,fanFeedback.nextTimeEvent,TSupSetpoint_F.nextTimeEventScaled,$PRE.TSupSetpoint_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,TOut_F.nextTimeEventScaled,$PRE.TOut_F.nextTimeEventScaled,TOut_F.nextTimeEvent,$whenCondition11,csvWriter.sampleTrigger,$whenCondition1,plotConfiguration.activate_internal,cooValSta.limPI.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 4 * 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.0002905/0.6829, allocations: 320.5 kB / 0.8173 GB, free: 32.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.683, allocations: 114.3 kB / 0.8174 GB, free: 32.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.6846, allocations: 0.8109 MB / 0.8182 GB, free: 32.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.6847, allocations: 4.875 kB / 0.8182 GB, free: 32.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6847, allocations: 1.094 kB / 0.8182 GB, free: 32.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.685, allocations: 243.9 kB / 0.8184 GB, free: 32.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.6851, allocations: 31.05 kB / 0.8185 GB, free: 32.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.6855, allocations: 39.69 kB / 0.8185 GB, free: 32.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.6857, allocations: 79.52 kB / 0.8186 GB, free: 32.34 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00176/0.6875, allocations: 0.8949 MB / 0.8194 GB, free: 31.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002011/0.6895, allocations: 1.293 MB / 0.8207 GB, free: 31.28 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000568/0.6901, allocations: 315 kB / 0.821 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008967/0.691, allocations: 0.5977 MB / 0.8216 GB, free: 30.91 MB / 0.6544 GB Notification: Performance of Backend: time 7.91e-07/0.691, allocations: 0 / 0.8216 GB, free: 30.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003739/0.6947, allocations: 1.948 MB / 0.8235 GB, free: 29.98 MB / 0.6544 GB Notification: Performance of SimCode: time 0.003188/0.6979, allocations: 2.261 MB / 0.8257 GB, free: 28.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.03672/0.7347, allocations: 19.25 MB / 0.8445 GB, free: 22.83 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & ./Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1)