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.491/1.491, allocations: 249.5 MB / 257 MB, free: 6.953 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.0009809/0.000981, allocations: 183.6 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008402/0.00084, allocations: 85.92 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.886e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2316, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7793/1.011, allocations: 135.7 MB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/1.011, allocations: 86.06 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01332/1.025, allocations: 5.449 MB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.024e-06/1.025, allocations: 0 / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.504e-05/1.025, allocations: 12 kB / 1.023 GB, free: 13.44 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.0009864/1.026, allocations: 0.5439 MB / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/1.026, allocations: 8.031 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/1.026, allocations: 39.53 kB / 1.024 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/1.026, allocations: 304.6 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/1.026, allocations: 8 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/1.027, allocations: 23.81 kB / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003491/1.027, allocations: 162.2 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/1.027, allocations: 245 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.027, allocations: 0 / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/1.027, allocations: 0 / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/1.027, allocations: 8 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/1.029, allocations: 1.057 MB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/1.029, allocations: 206.3 kB / 1.026 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/1.029, allocations: 102.7 kB / 1.026 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/1.03, allocations: 0 / 1.026 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/1.03, allocations: 34.78 kB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 3.777e-06/1.03, allocations: 4 kB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0003696/1.03, allocations: 180.1 kB / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/1.03, allocations: 81.11 kB / 1.026 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/1.03, allocations: 212.7 kB / 1.026 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/1.03, allocations: 25.7 kB / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/1.03, allocations: 183 kB / 1.027 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/1.03, allocations: 64.91 kB / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/1.031, allocations: 0 / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.031, allocations: 336.9 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.762e-05/1.031, allocations: 56.94 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/1.031, allocations: 94.67 kB / 1.027 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/1.031, allocations: 65.55 kB / 1.027 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.031, allocations: 0 / 1.027 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003144/1.031, allocations: 196.5 kB / 1.027 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.031, allocations: 184.8 kB / 1.028 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.031, allocations: 0 / 1.028 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.031, allocations: 3.984 kB / 1.028 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/1.032, allocations: 55.03 kB / 1.028 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.032, allocations: 0 / 1.028 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/1.032, allocations: 31.89 kB / 1.028 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/1.032, allocations: 11.94 kB / 1.028 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/1.032, allocations: 4 kB / 1.028 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002322/1.032, allocations: 142.2 kB / 1.028 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/1.032, allocations: 0 / 1.028 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/1.032, allocations: 0 / 1.028 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/1.032, allocations: 44.02 kB / 1.028 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-06/1.032, allocations: 0 / 1.028 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/1.033, allocations: 31.81 kB / 1.028 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/1.033, allocations: 7.438 kB / 1.028 GB, free: 9.344 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 0.0001001/1.033, allocations: 108.9 kB / 1.028 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003041/1.033, allocations: 177.5 kB / 1.028 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/1.033, allocations: 31.61 kB / 1.028 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/1.033, allocations: 196.2 kB / 1.028 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/1.033, allocations: 11.94 kB / 1.028 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.033, allocations: 0 / 1.028 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.033, allocations: 0 / 1.028 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/1.034, allocations: 0.5745 MB / 1.029 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.034, allocations: 3.938 kB / 1.029 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/1.034, allocations: 52 kB / 1.029 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.034, allocations: 0 / 1.029 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/1.034, allocations: 7.172 kB / 1.029 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.034, allocations: 4 kB / 1.029 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.034, allocations: 3.953 kB / 1.029 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/1.035, allocations: 391 kB / 1.029 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/1.035, allocations: 104.2 kB / 1.029 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/1.035, allocations: 7.953 kB / 1.029 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/1.035, allocations: 23.97 kB / 1.03 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/1.035, allocations: 15.23 kB / 1.03 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/1.035, allocations: 12.05 kB / 1.03 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001581/1.036, allocations: 172.9 kB / 1.03 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/1.036, allocations: 0 / 1.03 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004198/1.036, allocations: 83.62 kB / 1.03 GB, free: 7.656 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.0008887/1.037, allocations: 1.001 MB / 1.031 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004302/1.037, allocations: 232.2 kB / 1.031 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.037, allocations: 0 / 1.031 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/1.037, allocations: 83.42 kB / 1.031 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/1.038, allocations: 41.02 kB / 1.031 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009706/1.039, allocations: 396.7 kB / 1.031 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/1.039, allocations: 0.7723 MB / 1.032 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002069/1.039, allocations: 39.36 kB / 1.032 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/1.04, allocations: 85.72 kB / 1.032 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of SimCode: time 6.31e-07/1.04, allocations: 4 kB / 1.032 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/1.064, allocations: 4.721 MB / 1.037 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.064, allocations: 178.3 kB / 1.037 GB, free: 368 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.858, allocations: 3.938 kB / 1.037 GB, free: 364 kB / 0.6511 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)