Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.69/2.69, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002078/0.002078, allocations: 180.9 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.204/2.204, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 100.6 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.424e-05/2.421e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8381/0.8382, allocations: 115.3 MB / 0.9634 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2525/1.091, allocations: 142.4 MB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/1.091, allocations: 84.44 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.09885/1.19, allocations: 22.79 MB / 1.125 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.285e-06/1.19, allocations: 0 / 1.125 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001438/1.19, allocations: 36 kB / 1.125 GB, free: 7.281 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.005118/1.195, allocations: 1.622 MB / 1.126 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.195, allocations: 8.031 kB / 1.126 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008293/1.196, allocations: 202.8 kB / 1.127 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/1.2, allocations: 1.149 MB / 1.128 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.276e-05/1.2, allocations: 44 kB / 1.128 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/1.201, allocations: 95.98 kB / 1.128 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002784/1.203, allocations: 0.8403 MB / 1.129 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003084/1.207, allocations: 1.094 MB / 1.13 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/1.207, allocations: 0 / 1.13 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/1.207, allocations: 4 kB / 1.13 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.57e-05/1.207, allocations: 36 kB / 1.13 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/1.219, allocations: 4.272 MB / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/1.221, allocations: 0.7461 MB / 1.135 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008107/1.222, allocations: 344 kB / 1.135 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.413e-05/1.222, allocations: 8 kB / 1.135 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/1.223, allocations: 437.2 kB / 1.135 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 3.868e-06/1.223, allocations: 4 kB / 1.136 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.001945/1.225, allocations: 0.639 MB / 1.136 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/1.226, allocations: 251.2 kB / 1.136 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/1.227, allocations: 0.7734 MB / 1.137 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002571/1.227, allocations: 49.69 kB / 1.137 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009784/1.228, allocations: 0.7606 MB / 1.138 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000482/1.229, allocations: 264.2 kB / 1.138 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.606e-05/1.229, allocations: 0 / 1.138 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.229, allocations: 361.9 kB / 1.139 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008878/1.23, allocations: 294.6 kB / 1.139 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/1.231, allocations: 0.6273 MB / 1.139 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/1.233, allocations: 361.8 kB / 1.14 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.233, allocations: 0 / 1.14 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003004/1.236, allocations: 0.9825 MB / 1.141 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001344/1.237, allocations: 2.845 MB / 1.143 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/1.237, allocations: 15.95 kB / 1.143 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-05/1.237, allocations: 13.41 kB / 1.144 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/1.239, allocations: 227.6 kB / 1.144 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/1.239, allocations: 19.94 kB / 1.144 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/1.241, allocations: 182.9 kB / 1.144 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.241, allocations: 44 kB / 1.144 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.241, allocations: 4 kB / 1.144 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00242/1.243, allocations: 0.8018 MB / 1.145 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.244, allocations: 8 kB / 1.145 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/1.244, allocations: 12 kB / 1.145 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/1.245, allocations: 203.7 kB / 1.145 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-05/1.245, allocations: 19.92 kB / 1.145 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.247, allocations: 145.5 kB / 1.145 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/1.247, allocations: 48 kB / 1.145 GB, free: 1.75 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,$whenCondition6,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.y,uSupFan.y,$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): 141 * Array equations: 0 * Algorithm blocks: 1 * 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.000444/1.247, allocations: 159.5 kB / 1.145 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001835/1.249, allocations: 0.6272 MB / 1.146 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/1.249, allocations: 131.8 kB / 1.146 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/1.251, allocations: 0.6823 MB / 1.147 GB, free: 132 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/1.251, allocations: 8 kB / 1.147 GB, free: 124 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.251, allocations: 4 kB / 1.147 GB, free: 120 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/1.251, allocations: 7.938 kB / 1.147 GB, free: 112 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/1.256, allocations: 2.201 MB / 1.149 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.256, allocations: 4.031 kB / 1.149 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/1.258, allocations: 155.8 kB / 1.149 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/1.258, allocations: 4 kB / 1.149 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/1.258, allocations: 15.98 kB / 1.149 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.728e-05/1.258, allocations: 19.92 kB / 1.149 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.258, allocations: 4 kB / 1.149 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/1.261, allocations: 1.508 MB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/1.261, allocations: 203.4 kB / 1.151 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/1.262, allocations: 18.44 kB / 1.151 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.263, allocations: 70.73 kB / 1.151 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/1.263, allocations: 99.78 kB / 1.151 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-05/1.263, allocations: 35.92 kB / 1.151 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001163/1.264, allocations: 0.5563 MB / 1.152 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.7e-07/1.264, allocations: 0 / 1.152 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00235/1.267, allocations: 469.7 kB / 1.152 GB, free: 10.58 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * 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 (89): * Single equations (assignments): 88 * 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.003713/1.271, allocations: 2.851 MB / 1.155 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003565/1.274, allocations: 1.364 MB / 1.156 GB, free: 6.246 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.274, allocations: 4 kB / 1.156 GB, free: 6.242 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009455/1.275, allocations: 324.8 kB / 1.156 GB, free: 5.926 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/1.277, allocations: 216.2 kB / 1.157 GB, free: 5.723 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00655/1.284, allocations: 1.909 MB / 1.158 GB, free: 3.73 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/1.285, allocations: 1.229 MB / 1.16 GB, free: 2.473 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002265/1.287, allocations: 245.7 kB / 1.16 GB, free: 2.23 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.289, allocations: 0.5852 MB / 1.16 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of SimCode: time 1.553e-06/1.289, allocations: 4 kB / 1.16 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/1.405, allocations: 24.23 MB / 1.184 GB, free: 9.801 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003305/1.406, allocations: 172.1 kB / 1.184 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.696/5.101, allocations: 2.812 kB / 1.184 GB, free: 9.609 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)