Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001341, allocations: 175.5 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.387/2.387, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.000987/0.0009873, allocations: 92.42 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 12.48 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2643, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2317/0.4961, allocations: 134.7 MB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.4965, allocations: 91.94 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0136/0.5101, allocations: 4.678 MB / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.672e-06/0.5102, allocations: 3.938 kB / 1.036 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.782e-05/0.5103, allocations: 11.94 kB / 1.036 GB, free: 4.148 MB / 0.6823 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.001451/0.5117, allocations: 0.526 MB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.273e-05/0.5118, allocations: 12.02 kB / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.512, allocations: 54.55 kB / 1.037 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.5121, allocations: 23.72 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006604/0.5128, allocations: 270.5 kB / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.5129, allocations: 24.44 kB / 1.037 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.5129, allocations: 20 kB / 1.037 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/0.5136, allocations: 258.6 kB / 1.038 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.5137, allocations: 4 kB / 1.038 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.5137, allocations: 8 kB / 1.038 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.5137, allocations: 7.984 kB / 1.038 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000582/0.5143, allocations: 203.8 kB / 1.038 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.5163, allocations: 0.9884 MB / 1.039 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000717/0.517, allocations: 230.9 kB / 1.039 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.5171, allocations: 11.97 kB / 1.039 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.5171, allocations: 38.45 kB / 1.039 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 4.498e-06/0.5172, allocations: 0 / 1.039 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0008748/0.518, allocations: 284.6 kB / 1.039 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.215e-05/0.5181, allocations: 77.11 kB / 1.039 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.5185, allocations: 233.8 kB / 1.04 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.5185, allocations: 25.7 kB / 1.04 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.5187, allocations: 156.1 kB / 1.04 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/0.5188, allocations: 51.3 kB / 1.04 GB, free: 452 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.5188, allocations: 4 kB / 1.04 GB, free: 448 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.519, allocations: 330.8 kB / 1.04 GB, free: 108 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.5193, allocations: 75.95 kB / 1.04 GB, free: 32 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.5196, allocations: 114 kB / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.5199, allocations: 79.97 kB / 1.04 GB, free: 15.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5199, allocations: 4.031 kB / 1.04 GB, free: 15.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005893/0.5205, allocations: 234.8 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.5207, allocations: 186 kB / 1.041 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.5207, allocations: 0 / 1.041 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.5207, allocations: 0 / 1.041 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.5209, allocations: 39.97 kB / 1.041 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.5209, allocations: 4.031 kB / 1.041 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.5211, allocations: 35.83 kB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.5211, allocations: 7.984 kB / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.5212, allocations: 4 kB / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003405/0.5215, allocations: 150.1 kB / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5215, allocations: 0 / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-06/0.5215, allocations: 7.875 kB / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.5217, allocations: 39.91 kB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5217, allocations: 3.953 kB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.5218, allocations: 31.86 kB / 1.041 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.5219, allocations: 4 kB / 1.041 GB, free: 15.08 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.I.trigger_internal) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002553/0.5221, allocations: 217.1 kB / 1.041 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.5222, allocations: 19.72 kB / 1.041 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.5223, allocations: 29.83 kB / 1.041 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5223, allocations: 0 / 1.041 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.5223, allocations: 3.953 kB / 1.041 GB, free: 14.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5223, allocations: 0 / 1.041 GB, free: 14.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.5233, allocations: 0.6046 MB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5234, allocations: 4.031 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.5236, allocations: 35.98 kB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5236, allocations: 7.922 kB / 1.042 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.5236, allocations: 7.953 kB / 1.042 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.5236, allocations: 4 kB / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5236, allocations: 0 / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/0.5245, allocations: 417.7 kB / 1.042 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.5246, allocations: 104.8 kB / 1.042 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.5246, allocations: 8 kB / 1.042 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.5248, allocations: 20.05 kB / 1.042 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.5249, allocations: 11.98 kB / 1.043 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.5249, allocations: 4 kB / 1.043 GB, free: 13.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002195/0.5251, allocations: 186 kB / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5251, allocations: 4 kB / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003979/0.5255, allocations: 71.69 kB / 1.043 GB, free: 13.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.001355/0.5269, allocations: 1.035 MB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007215/0.5276, allocations: 260 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5276, allocations: 0 / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.5279, allocations: 91.89 kB / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.5284, allocations: 48.53 kB / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.5315, allocations: 1.541 MB / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.5321, allocations: 0.7521 MB / 1.046 GB, free: 9.387 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.5322, allocations: 29.92 kB / 1.046 GB, free: 9.359 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.5324, allocations: 75.41 kB / 1.046 GB, free: 9.285 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.5324, allocations: 0 / 1.046 GB, free: 9.285 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.5545, allocations: 4.402 MB / 1.051 GB, free: 5.082 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/0.5548, allocations: 215.2 kB / 1.051 GB, free: 4.828 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.625, allocations: 0 / 1.051 GB, free: 4.828 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)