Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_9_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.0013/0.0013, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.3 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.84 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5261, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003043/0.5292, allocations: 2.203 MB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007738/0.5299, allocations: 0.5349 MB / 0.9524 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.5301, allocations: 4.625 kB / 0.9524 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.5303, allocations: 49.19 kB / 0.9525 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.691e-05/0.5304, allocations: 39.84 kB / 0.9525 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.5306, allocations: 147.5 kB / 0.9526 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.5309, allocations: 363.7 kB / 0.953 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.5312, allocations: 179.5 kB / 0.9532 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.5313, allocations: 123.8 kB / 0.9533 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.5315, allocations: 144.5 kB / 0.9534 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.5315, allocations: 40 kB / 0.9534 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.028e-05/0.5316, allocations: 40.94 kB / 0.9535 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.5316, allocations: 76.33 kB / 0.9536 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.645e-05/0.5317, allocations: 157.3 kB / 0.9537 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.532, allocations: 458.5 kB / 0.9541 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5321, allocations: 0 / 0.9541 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5321, allocations: 0 / 0.9541 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.5321, allocations: 5.188 kB / 0.9542 GB, free: 5.703 MB / 0.7169 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.0007998/0.5329, allocations: 0.6113 MB / 0.9548 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.5329, allocations: 9.031 kB / 0.9548 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.533, allocations: 59.7 kB / 0.9548 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.533, allocations: 37.59 kB / 0.9549 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.5334, allocations: 320.2 kB / 0.9552 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.5334, allocations: 23.11 kB / 0.9552 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.5334, allocations: 24 kB / 0.9552 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.5339, allocations: 290.3 kB / 0.9555 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.5339, allocations: 0 / 0.9555 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.5339, allocations: 10.53 kB / 0.9555 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.5339, allocations: 6.438 kB / 0.9555 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.5344, allocations: 205.6 kB / 0.9557 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.5355, allocations: 0.9853 MB / 0.9567 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.536, allocations: 280.1 kB / 0.9569 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.5362, allocations: 106.5 kB / 0.957 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.5362, allocations: 1.969 kB / 0.957 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.5363, allocations: 32.47 kB / 0.9571 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.5363, allocations: 0 / 0.9571 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0006477/0.5369, allocations: 266.5 kB / 0.9573 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.537, allocations: 52.88 kB / 0.9574 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.5372, allocations: 272 kB / 0.9576 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.5372, allocations: 31.08 kB / 0.9576 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.5373, allocations: 180.5 kB / 0.9578 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.5373, allocations: 56.69 kB / 0.9579 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.5374, allocations: 40.83 kB / 0.9579 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.5374, allocations: 344.2 kB / 0.9582 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.5376, allocations: 79.31 kB / 0.9583 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.5378, allocations: 113.1 kB / 0.9584 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.5382, allocations: 196 kB / 0.9586 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5382, allocations: 0 / 0.9586 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004756/0.5387, allocations: 248.3 kB / 0.9588 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5387, allocations: 5.469 kB / 0.9589 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5387, allocations: 1.062 kB / 0.9589 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5388, allocations: 2.219 kB / 0.9589 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.539, allocations: 45.5 kB / 0.9589 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.539, allocations: 2.281 kB / 0.9589 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.5391, allocations: 33.23 kB / 0.9589 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.5392, allocations: 9.469 kB / 0.9589 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002248/0.5394, allocations: 183.5 kB / 0.9591 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001743/0.5396, allocations: 108.3 kB / 0.9592 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003219/0.5399, allocations: 187.3 kB / 0.9594 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.5399, allocations: 7.875 kB / 0.9594 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004258/0.5404, allocations: 238.2 kB / 0.9596 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.5404, allocations: 7.5 kB / 0.9596 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.5404, allocations: 4.984 kB / 0.9596 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.057e-06/0.5404, allocations: 5.656 kB / 0.9597 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.5406, allocations: 44.42 kB / 0.9597 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.5406, allocations: 1.781 kB / 0.9597 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.5407, allocations: 28.39 kB / 0.9597 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.5407, allocations: 5.219 kB / 0.9597 GB, free: 1.328 MB / 0.7169 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 6.243e-05/0.5408, allocations: 200.2 kB / 0.9599 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.5408, allocations: 23.66 kB / 0.9599 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.5413, allocations: 215.4 kB / 0.9601 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5413, allocations: 2.375 kB / 0.9601 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5413, allocations: 0 / 0.9601 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5413, allocations: 1.094 kB / 0.9602 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007251/0.5421, allocations: 0.6241 MB / 0.9608 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5421, allocations: 4.062 kB / 0.9608 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.5423, allocations: 39.06 kB / 0.9608 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5423, allocations: 1.062 kB / 0.9608 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.5423, allocations: 9.062 kB / 0.9608 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5423, allocations: 1.219 kB / 0.9608 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5423, allocations: 0 / 0.9608 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.5429, allocations: 394.7 kB / 0.9612 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.543, allocations: 106.9 kB / 0.9613 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.543, allocations: 5.031 kB / 0.9613 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.5432, allocations: 11.48 kB / 0.9613 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.5432, allocations: 21.17 kB / 0.9613 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.5432, allocations: 3.812 kB / 0.9613 GB, free: 24 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001825/0.5434, allocations: 196.1 kB / 0.9615 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.5434, allocations: 5.125 kB / 0.9615 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003749/0.5438, allocations: 82.44 kB / 0.9616 GB, free: 15.86 MB / 0.7325 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.0009277/0.5447, allocations: 0.9231 MB / 0.9625 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006501/0.5454, allocations: 284 kB / 0.9628 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5454, allocations: 0.5625 kB / 0.9628 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.5456, allocations: 92.98 kB / 0.9629 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.546, allocations: 49.02 kB / 0.9629 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.5492, allocations: 2.577 MB / 0.9654 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.5494, allocations: 0.7538 MB / 0.9662 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.5496, allocations: 35.97 kB / 0.9662 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.5497, allocations: 92.98 kB / 0.9663 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.5497, allocations: 0 / 0.9663 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04861/0.5983, allocations: 4.844 MB / 0.971 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.684, allocations: 14.44 kB / 0.971 GB, free: 9.727 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)