Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001124, allocations: 183.5 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 100.2 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003719, allocations: 10.33 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2692, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.4561, allocations: 138.2 MB / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.4565, allocations: 87.88 kB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5979/1.054, allocations: 26.22 MB / 1.061 GB, free: 139.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.657e-06/1.055, allocations: 0 / 1.061 GB, free: 139.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001022/1.055, allocations: 39.41 kB / 1.061 GB, free: 139.3 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.003631/1.058, allocations: 1.944 MB / 1.063 GB, free: 138.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.058, allocations: 8.969 kB / 1.063 GB, free: 138.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002927/1.059, allocations: 213.1 kB / 1.063 GB, free: 138.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/1.059, allocations: 211.7 kB / 1.063 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/1.061, allocations: 1.247 MB / 1.064 GB, free: 137.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/1.061, allocations: 124 kB / 1.064 GB, free: 137.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/1.061, allocations: 157.4 kB / 1.065 GB, free: 137.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/1.064, allocations: 1.477 MB / 1.066 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/1.064, allocations: 5.812 kB / 1.066 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/1.064, allocations: 59.89 kB / 1.066 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/1.064, allocations: 37.03 kB / 1.066 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/1.067, allocations: 1.149 MB / 1.067 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00918/1.076, allocations: 4.773 MB / 1.072 GB, free: 136.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/1.078, allocations: 0.954 MB / 1.073 GB, free: 136.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.105e-05/1.079, allocations: 28.28 kB / 1.073 GB, free: 136.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/1.08, allocations: 0.5228 MB / 1.073 GB, free: 136.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 4.999e-06/1.08, allocations: 4.656 kB / 1.073 GB, free: 136.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.002986/1.083, allocations: 1.177 MB / 1.075 GB, free: 136 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/1.083, allocations: 255.2 kB / 1.075 GB, free: 135.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/1.085, allocations: 1.199 MB / 1.076 GB, free: 135.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/1.085, allocations: 58.2 kB / 1.076 GB, free: 135.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006443/1.086, allocations: 0.8026 MB / 1.077 GB, free: 135.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/1.086, allocations: 266.5 kB / 1.077 GB, free: 135.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/1.086, allocations: 26.08 kB / 1.077 GB, free: 135.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/1.086, allocations: 349.4 kB / 1.077 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008079/1.087, allocations: 386.6 kB / 1.078 GB, free: 134.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/1.088, allocations: 0.7202 MB / 1.078 GB, free: 134.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000902/1.089, allocations: 433.1 kB / 1.079 GB, free: 134.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.089, allocations: 2.5 kB / 1.079 GB, free: 134.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002449/1.091, allocations: 1.214 MB / 1.08 GB, free: 134.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005482/1.092, allocations: 2.81 MB / 1.083 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.092, allocations: 6.625 kB / 1.083 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/1.092, allocations: 13.28 kB / 1.083 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008745/1.093, allocations: 239.6 kB / 1.083 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/1.093, allocations: 11.75 kB / 1.083 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.094, allocations: 213.1 kB / 1.083 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.182e-05/1.094, allocations: 45.38 kB / 1.083 GB, free: 131.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/1.094, allocations: 3.375 kB / 1.083 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001701/1.096, allocations: 0.9134 MB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.096, allocations: 10.38 kB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.096, allocations: 18.12 kB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/1.096, allocations: 204.1 kB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/1.096, allocations: 12.28 kB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009471/1.097, allocations: 168.4 kB / 1.085 GB, free: 130.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/1.098, allocations: 50.3 kB / 1.085 GB, free: 130.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,cooVal.uFanSta,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.pulseStart,uSupFan.pulseStart,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,$whenCondition2,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,$whenCondition1,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001064/1.099, allocations: 442.6 kB / 1.085 GB, free: 130.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/1.099, allocations: 159.1 kB / 1.085 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/1.101, allocations: 0.9515 MB / 1.086 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/1.101, allocations: 13.34 kB / 1.086 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.101, allocations: 1.5 kB / 1.086 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/1.101, allocations: 10.98 kB / 1.086 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/1.106, allocations: 2.568 MB / 1.089 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.106, allocations: 8.875 kB / 1.089 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/1.106, allocations: 160.2 kB / 1.089 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/1.106, allocations: 5.281 kB / 1.089 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/1.106, allocations: 24.67 kB / 1.089 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/1.106, allocations: 8.438 kB / 1.089 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.106, allocations: 6.406 kB / 1.089 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/1.109, allocations: 1.844 MB / 1.091 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/1.11, allocations: 236.5 kB / 1.091 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/1.11, allocations: 34.12 kB / 1.091 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/1.11, allocations: 89.56 kB / 1.091 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/1.111, allocations: 96.22 kB / 1.091 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/1.111, allocations: 32 kB / 1.091 GB, free: 128.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00139/1.112, allocations: 0.901 MB / 1.092 GB, free: 128 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.112, allocations: 0 / 1.092 GB, free: 128 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002095/1.114, allocations: 470.9 kB / 1.093 GB, free: 127.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (cooVal2.limPI.I.y,cooVal1.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal2.limPI.trigger,$whenCondition1,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal1.limPI.trigger,$whenCondition2,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition5,$whenCondition4,cooVal.uFanSta,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.pulseStart) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003305/1.118, allocations: 3.026 MB / 1.095 GB, free: 125.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003099/1.121, allocations: 1.422 MB / 1.097 GB, free: 125.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.121, allocations: 0 / 1.097 GB, free: 125.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008937/1.122, allocations: 425.9 kB / 1.097 GB, free: 125 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/1.123, allocations: 311.7 kB / 1.098 GB, free: 124.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/1.137, allocations: 13.6 MB / 1.111 GB, free: 114.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/1.138, allocations: 1.258 MB / 1.112 GB, free: 113.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001147/1.139, allocations: 234.6 kB / 1.112 GB, free: 113.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007346/1.14, allocations: 0.665 MB / 1.113 GB, free: 112.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.453e-06/1.14, allocations: 0 / 1.113 GB, free: 112.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04903/1.189, allocations: 27.49 MB / 1.14 GB, free: 87.51 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/1.189, allocations: 219.1 kB / 1.14 GB, free: 87.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.995/4.184, allocations: 0 / 1.14 GB, free: 87.27 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)