Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006771/0.006771, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.00162/0.00162, allocations: 190.5 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.486/2.486, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 56.12 kB / 1.054 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.6683, allocations: 157.4 MB / 1.207 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003267/0.6716, allocations: 2.201 MB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.6726, allocations: 0.5219 MB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.6729, allocations: 7.938 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.6731, allocations: 47.53 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.6732, allocations: 51.52 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.6736, allocations: 139.8 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.674, allocations: 364.2 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.6743, allocations: 181.1 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.6745, allocations: 127.4 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.6746, allocations: 139.3 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.6747, allocations: 44 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.985e-05/0.6747, allocations: 40 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.6748, allocations: 83.69 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.6749, allocations: 155.2 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.6753, allocations: 472.8 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6753, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6753, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6753, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009102/0.6762, allocations: 0.6119 MB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.6763, allocations: 12.03 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.424e-05/0.6764, allocations: 62.72 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.6764, allocations: 32.56 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.6769, allocations: 311.4 kB / 1.213 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.6769, allocations: 24.94 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.677, allocations: 24.38 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005284/0.6775, allocations: 287.9 kB / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6775, allocations: 0 / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.6775, allocations: 8 kB / 1.213 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.6776, allocations: 8 kB / 1.213 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.6781, allocations: 210.1 kB / 1.213 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.6794, allocations: 0.9702 MB / 1.214 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.6799, allocations: 271.9 kB / 1.214 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.6801, allocations: 104.8 kB / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.6802, allocations: 11.94 kB / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.6802, allocations: 34.62 kB / 1.215 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.6802, allocations: 0 / 1.215 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0007083/0.6809, allocations: 257.2 kB / 1.215 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.681, allocations: 51.41 kB / 1.215 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.6812, allocations: 278.7 kB / 1.215 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.6813, allocations: 29.7 kB / 1.215 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.6814, allocations: 187.9 kB / 1.215 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.6814, allocations: 55.11 kB / 1.215 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.6815, allocations: 45.7 kB / 1.215 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6816, allocations: 334.8 kB / 1.216 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.6818, allocations: 88.81 kB / 1.216 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.6821, allocations: 123.3 kB / 1.216 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.6825, allocations: 185.8 kB / 1.216 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6825, allocations: 0 / 1.216 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005324/0.6831, allocations: 251.6 kB / 1.216 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.6831, allocations: 5.875 kB / 1.216 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.6831, allocations: 7.984 kB / 1.216 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.6831, allocations: 0 / 1.216 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.6834, allocations: 47.91 kB / 1.216 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.6834, allocations: 4 kB / 1.216 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.6835, allocations: 27.83 kB / 1.216 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.6836, allocations: 8.062 kB / 1.216 GB, free: 4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002558/0.6838, allocations: 181.6 kB / 1.217 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000191/0.684, allocations: 109 kB / 1.217 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003509/0.6844, allocations: 184.2 kB / 1.217 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.6844, allocations: 3.938 kB / 1.217 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004517/0.6848, allocations: 239.5 kB / 1.217 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.6849, allocations: 8 kB / 1.217 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.6849, allocations: 3.984 kB / 1.217 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.117e-06/0.6849, allocations: 4 kB / 1.217 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.6851, allocations: 43.91 kB / 1.217 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.6851, allocations: 0 / 1.217 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.6852, allocations: 23.83 kB / 1.217 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.6853, allocations: 12 kB / 1.217 GB, free: 3.164 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001001/0.6854, allocations: 196.2 kB / 1.217 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.6854, allocations: 19.72 kB / 1.217 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.6859, allocations: 215.7 kB / 1.218 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.686, allocations: 4 kB / 1.218 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.686, allocations: 0 / 1.218 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.686, allocations: 4 kB / 1.218 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000874/0.6869, allocations: 0.6287 MB / 1.218 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6869, allocations: 3.938 kB / 1.218 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.6871, allocations: 43.91 kB / 1.218 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.6871, allocations: 0 / 1.218 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.6871, allocations: 4 kB / 1.218 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6871, allocations: 4 kB / 1.218 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6871, allocations: 4 kB / 1.218 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007053/0.6878, allocations: 397 kB / 1.219 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.6879, allocations: 100.8 kB / 1.219 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.6879, allocations: 12.05 kB / 1.219 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.6881, allocations: 15.98 kB / 1.219 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.6882, allocations: 11.92 kB / 1.219 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.6882, allocations: 4 kB / 1.219 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001744/0.6884, allocations: 202 kB / 1.219 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6884, allocations: 0 / 1.219 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003907/0.6888, allocations: 87.59 kB / 1.219 GB, free: 1.133 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0009372/0.6897, allocations: 0.9229 MB / 1.22 GB, free: 188 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006903/0.6904, allocations: 285.6 kB / 1.22 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6904, allocations: 0 / 1.22 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.6906, allocations: 83.89 kB / 1.22 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.691, allocations: 47.22 kB / 1.22 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.6942, allocations: 2.582 MB / 1.223 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.6945, allocations: 0.7518 MB / 1.224 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000122/0.6946, allocations: 29.94 kB / 1.224 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.6947, allocations: 95.34 kB / 1.224 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.6947, allocations: 0 / 1.224 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.426/2.121, allocations: 4.93 MB / 1.229 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/12.55, allocations: 12.92 kB / 1.229 GB, free: 7.434 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)