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.RadiatorSupply.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.RadiatorSupply,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 249.3 MB / 261.8 MB, free: 5.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001032/0.001032, allocations: 86.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.942e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2587, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8544/1.113, allocations: 135.5 MB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/1.113, allocations: 95.09 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01394/1.127, allocations: 5.491 MB / 1.03 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.094e-06/1.127, allocations: 0 / 1.03 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.411e-05/1.127, allocations: 8 kB / 1.03 GB, free: 10.66 MB / 0.6511 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.0008527/1.128, allocations: 0.5427 MB / 1.03 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/1.128, allocations: 12.03 kB / 1.03 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.011e-05/1.129, allocations: 57.36 kB / 1.03 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.697e-05/1.129, allocations: 35.53 kB / 1.03 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/1.129, allocations: 311 kB / 1.031 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/1.129, allocations: 22.94 kB / 1.031 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/1.129, allocations: 22.75 kB / 1.031 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/1.13, allocations: 273.4 kB / 1.031 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.13, allocations: 3.938 kB / 1.031 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/1.13, allocations: 9.562 kB / 1.031 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/1.13, allocations: 8 kB / 1.031 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/1.13, allocations: 180.5 kB / 1.031 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/1.132, allocations: 1.124 MB / 1.032 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/1.132, allocations: 229.2 kB / 1.032 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/1.133, allocations: 95.23 kB / 1.032 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/1.133, allocations: 3.938 kB / 1.032 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/1.133, allocations: 34.56 kB / 1.033 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/1.133, allocations: 0 / 1.033 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0004175/1.133, allocations: 200.3 kB / 1.033 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/1.133, allocations: 81.11 kB / 1.033 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/1.133, allocations: 259 kB / 1.033 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/1.133, allocations: 32.52 kB / 1.033 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/1.134, allocations: 174.7 kB / 1.033 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/1.134, allocations: 57.11 kB / 1.033 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/1.134, allocations: 4 kB / 1.033 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.134, allocations: 348 kB / 1.034 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/1.134, allocations: 57.16 kB / 1.034 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/1.134, allocations: 100.5 kB / 1.034 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/1.134, allocations: 70.36 kB / 1.034 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.134, allocations: 0 / 1.034 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003424/1.135, allocations: 218.6 kB / 1.034 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/1.135, allocations: 181.4 kB / 1.034 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.135, allocations: 0 / 1.034 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/1.135, allocations: 7.984 kB / 1.034 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/1.135, allocations: 51.86 kB / 1.034 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.135, allocations: 4 kB / 1.034 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/1.135, allocations: 38.77 kB / 1.034 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/1.135, allocations: 10.98 kB / 1.034 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/1.135, allocations: 4 kB / 1.034 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002952/1.136, allocations: 148.7 kB / 1.034 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/1.136, allocations: 4 kB / 1.034 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-06/1.136, allocations: 0 / 1.034 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/1.136, allocations: 51.14 kB / 1.035 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/1.136, allocations: 3.984 kB / 1.035 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/1.136, allocations: 35.2 kB / 1.035 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/1.136, allocations: 4 kB / 1.035 GB, free: 6.316 MB / 0.6511 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 (conRadSup.conPIDRad.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 9.915e-05/1.136, allocations: 119.1 kB / 1.035 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/1.136, allocations: 27.62 kB / 1.035 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/1.137, allocations: 218.9 kB / 1.035 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.137, allocations: 0 / 1.035 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.137, allocations: 0 / 1.035 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.137, allocations: 3.938 kB / 1.035 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/1.137, allocations: 0.6376 MB / 1.036 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.137, allocations: 0 / 1.036 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/1.138, allocations: 59.89 kB / 1.036 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/1.138, allocations: 4 kB / 1.036 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/1.138, allocations: 7.938 kB / 1.036 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.138, allocations: 0 / 1.036 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.138, allocations: 0 / 1.036 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005308/1.138, allocations: 410.8 kB / 1.036 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/1.138, allocations: 111.8 kB / 1.036 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/1.138, allocations: 7.984 kB / 1.036 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/1.139, allocations: 27.16 kB / 1.036 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/1.139, allocations: 19.3 kB / 1.036 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/1.139, allocations: 4 kB / 1.036 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002259/1.139, allocations: 217.3 kB / 1.036 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/1.139, allocations: 0 / 1.036 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003921/1.139, allocations: 93.5 kB / 1.036 GB, free: 4.645 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0009691/1.14, allocations: 1.019 MB / 1.037 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004602/1.141, allocations: 248 kB / 1.038 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.141, allocations: 4 kB / 1.038 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/1.141, allocations: 86.17 kB / 1.038 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/1.141, allocations: 49.16 kB / 1.038 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009307/1.142, allocations: 418.6 kB / 1.038 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/1.143, allocations: 0.7726 MB / 1.039 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002061/1.143, allocations: 39.05 kB / 1.039 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/1.143, allocations: 99.33 kB / 1.039 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of SimCode: time 4.51e-07/1.143, allocations: 0 / 1.039 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/1.161, allocations: 5.6 MB / 1.045 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/1.161, allocations: 189.6 kB / 1.045 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/3.301, allocations: 0 / 1.045 GB, free: 12.52 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)