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.473/1.473, allocations: 249.5 MB / 257 MB, free: 6.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009454/0.0009453, allocations: 188.7 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0008275/0.0008275, allocations: 98.33 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.653e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2491, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8111/1.06, allocations: 138.3 MB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/1.06, allocations: 94.52 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06471/1.125, allocations: 25.96 MB / 1.046 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.277e-06/1.125, allocations: 4 kB / 1.046 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002254/1.126, allocations: 36 kB / 1.046 GB, free: 9.699 MB / 0.6667 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.004649/1.13, allocations: 1.685 MB / 1.048 GB, free: 8.074 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.13, allocations: 12.03 kB / 1.048 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009112/1.131, allocations: 209.5 kB / 1.048 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/1.134, allocations: 1.239 MB / 1.049 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.143e-05/1.135, allocations: 48 kB / 1.049 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/1.135, allocations: 95.91 kB / 1.049 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001726/1.137, allocations: 0.874 MB / 1.05 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/1.139, allocations: 1.155 MB / 1.051 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/1.139, allocations: 0 / 1.051 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-05/1.139, allocations: 3.562 kB / 1.051 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/1.139, allocations: 36 kB / 1.051 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007019/1.146, allocations: 4.419 MB / 1.055 GB, free: 1.98 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/1.147, allocations: 0.7305 MB / 1.056 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000437/1.148, allocations: 329 kB / 1.056 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/1.148, allocations: 12.38 kB / 1.056 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006417/1.148, allocations: 426.8 kB / 1.057 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=85): time 3.296e-06/1.148, allocations: 0 / 1.057 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85): time 0.001161/1.15, allocations: 0.6335 MB / 1.058 GB, free: 472 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/1.15, allocations: 243.3 kB / 1.058 GB, free: 172 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/1.151, allocations: 0.8309 MB / 1.059 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.501e-05/1.151, allocations: 44.62 kB / 1.059 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006679/1.152, allocations: 0.823 MB / 1.059 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/1.152, allocations: 259.1 kB / 1.06 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/1.152, allocations: 0 / 1.06 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.152, allocations: 348.9 kB / 1.06 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/1.152, allocations: 278 kB / 1.06 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/1.153, allocations: 0.6001 MB / 1.061 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/1.154, allocations: 320.4 kB / 1.061 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.154, allocations: 4 kB / 1.061 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001378/1.155, allocations: 0.9079 MB / 1.062 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001301/1.156, allocations: 2.741 MB / 1.065 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/1.156, allocations: 7.984 kB / 1.065 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/1.156, allocations: 16 kB / 1.065 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008818/1.157, allocations: 234 kB / 1.065 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.351e-05/1.157, allocations: 19.88 kB / 1.065 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008444/1.158, allocations: 143.1 kB / 1.065 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/1.158, allocations: 46.44 kB / 1.065 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/1.158, allocations: 4 kB / 1.065 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001134/1.159, allocations: 0.7093 MB / 1.066 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.159, allocations: 8 kB / 1.066 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.159, allocations: 12 kB / 1.066 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/1.16, allocations: 202.8 kB / 1.066 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/1.16, allocations: 19.92 kB / 1.066 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/1.161, allocations: 111.3 kB / 1.066 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/1.161, allocations: 43.5 kB / 1.066 GB, free: 8.586 MB / 0.6823 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 () * 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.0002387/1.161, allocations: 155.7 kB / 1.066 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009125/1.162, allocations: 0.6174 MB / 1.067 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/1.162, allocations: 126.4 kB / 1.067 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/1.163, allocations: 0.6832 MB / 1.068 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.163, allocations: 12 kB / 1.068 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.163, allocations: 7.953 kB / 1.068 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.164, allocations: 3.984 kB / 1.068 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/1.166, allocations: 2.165 MB / 1.07 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/1.166, allocations: 4 kB / 1.07 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006396/1.167, allocations: 155.5 kB / 1.07 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/1.167, allocations: 4 kB / 1.07 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/1.167, allocations: 19.59 kB / 1.07 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/1.167, allocations: 7.938 kB / 1.07 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.167, allocations: 4 kB / 1.07 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/1.169, allocations: 1.462 MB / 1.072 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/1.169, allocations: 198.1 kB / 1.072 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.169, allocations: 18.36 kB / 1.072 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/1.17, allocations: 79.92 kB / 1.072 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.17, allocations: 94.05 kB / 1.072 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/1.17, allocations: 30.55 kB / 1.072 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000743/1.171, allocations: 0.5909 MB / 1.072 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/1.171, allocations: 0 / 1.072 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00146/1.172, allocations: 473.5 kB / 1.073 GB, free: 3.062 MB / 0.6823 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) * 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.002112/1.174, allocations: 2.651 MB / 1.076 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001823/1.176, allocations: 1.165 MB / 1.077 GB, free: 15.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.176, allocations: 0 / 1.077 GB, free: 15.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00043/1.177, allocations: 317.8 kB / 1.077 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/1.178, allocations: 271.6 kB / 1.077 GB, free: 15.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/1.182, allocations: 1.978 MB / 1.079 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007552/1.182, allocations: 1.263 MB / 1.08 GB, free: 12.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001318/1.184, allocations: 262.1 kB / 1.081 GB, free: 12.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006604/1.184, allocations: 0.6242 MB / 1.081 GB, free: 11.97 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/1.184, allocations: 0 / 1.081 GB, free: 11.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0533/1.238, allocations: 24.98 MB / 1.106 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/1.238, allocations: 183.9 kB / 1.106 GB, free: 3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.929, allocations: 2.188 kB / 1.106 GB, free: 3 MB / 0.7136 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)