Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.BoilerReturn,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",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.0009292/0.0009292, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005658/0.005658, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.292/2.292, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 8.234 kB / 0.8729 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5241, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002039/0.5262, allocations: 1.721 MB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007676/0.527, allocations: 430.7 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.5271, allocations: 4 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.5273, allocations: 35.72 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.5274, allocations: 19.86 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.5276, allocations: 95.88 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.5279, allocations: 256.5 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.5282, allocations: 144.5 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.5283, allocations: 59.59 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.427e-05/0.5284, allocations: 71.5 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.5284, allocations: 4 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.5284, allocations: 8 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.5285, allocations: 39.72 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.483e-05/0.5285, allocations: 109.1 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.5288, allocations: 345 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5288, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5289, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5289, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007418/0.5296, allocations: 0.5108 MB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.5297, allocations: 12.03 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.5297, allocations: 50.73 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.5298, allocations: 32.58 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.5301, allocations: 276.2 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.5301, allocations: 16.81 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.5301, allocations: 20.38 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.5306, allocations: 246 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.5306, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.5307, allocations: 12 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.5307, allocations: 4 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.5311, allocations: 197 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.5322, allocations: 0.8561 MB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.5327, allocations: 190.7 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.5329, allocations: 113 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.533, allocations: 3.938 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.533, allocations: 34.56 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.533, allocations: 0 / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006472/0.5337, allocations: 265.2 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.5337, allocations: 81.11 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.5339, allocations: 231.2 kB / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.534, allocations: 29.7 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/0.5341, allocations: 156.2 kB / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.5341, allocations: 39.36 kB / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.5341, allocations: 17.72 kB / 1.03 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5343, allocations: 330.8 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.5345, allocations: 79.91 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.5347, allocations: 122.8 kB / 1.03 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.5351, allocations: 171.3 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5351, allocations: 0 / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000468/0.5356, allocations: 224.7 kB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/0.5356, allocations: 119.6 kB / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5356, allocations: 0 / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.5357, allocations: 7.938 kB / 1.031 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.5358, allocations: 35.97 kB / 1.031 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5358, allocations: 4 kB / 1.031 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.536, allocations: 39.83 kB / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.536, allocations: 8 kB / 1.031 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-06/0.536, allocations: 0 / 1.031 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003156/0.5363, allocations: 159.9 kB / 1.031 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.5363, allocations: 0 / 1.031 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-06/0.5364, allocations: 0 / 1.031 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.5365, allocations: 35.97 kB / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.5365, allocations: 3.938 kB / 1.031 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.5366, allocations: 35.83 kB / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.5366, allocations: 7.938 kB / 1.031 GB, free: 7.488 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001371/0.5368, allocations: 217.6 kB / 1.031 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.5368, allocations: 19.72 kB / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.5369, allocations: 25.39 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5369, allocations: 7.938 kB / 1.031 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5369, allocations: 0 / 1.031 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5369, allocations: 0 / 1.031 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.5372, allocations: 301.4 kB / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5372, allocations: 7.984 kB / 1.032 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.5374, allocations: 27.98 kB / 1.032 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5374, allocations: 0 / 1.032 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.5374, allocations: 8 kB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5374, allocations: 11.81 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.5374, allocations: 0 / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.538, allocations: 375.1 kB / 1.032 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.5381, allocations: 92.95 kB / 1.032 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.5381, allocations: 4 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.5383, allocations: 19.92 kB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.5383, allocations: 11.98 kB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.5384, allocations: 8.062 kB / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00015/0.5385, allocations: 172.5 kB / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5385, allocations: 0 / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003403/0.5389, allocations: 67.69 kB / 1.032 GB, free: 6.051 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.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 (12): * Single equations (assignments): 12 * 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.0008781/0.5397, allocations: 0.9074 MB / 1.033 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005706/0.5403, allocations: 239.8 kB / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5403, allocations: 3.938 kB / 1.033 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.5405, allocations: 88.27 kB / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.5409, allocations: 36.58 kB / 1.034 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.5438, allocations: 2.411 MB / 1.036 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.5441, allocations: 0.7404 MB / 1.037 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.61e-05/0.5442, allocations: 25.48 kB / 1.037 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.5443, allocations: 63.41 kB / 1.037 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.5443, allocations: 0 / 1.037 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.5575, allocations: 3.756 MB / 1.04 GB, free: 13.82 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.5578, allocations: 214.8 kB / 1.041 GB, free: 13.56 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.255, allocations: 0 / 1.041 GB, free: 13.56 MB / 0.795 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)