Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.242/2.242, allocations: 248.5 MB / 261.1 MB, free: 6.055 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.001652/0.001652, allocations: 172.1 kB / 320.4 MB, free: 15.33 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.972/1.972, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001143/0.001143, allocations: 96.66 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.582e-05/4.593e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2222, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8778/1.1, allocations: 135.3 MB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/1.1, allocations: 89.56 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02435/1.125, allocations: 5.501 MB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/1.125, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.83e-05/1.125, allocations: 8 kB / 1.028 GB, free: 11.36 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.001198/1.126, allocations: 0.5496 MB / 1.029 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/1.126, allocations: 8.031 kB / 1.029 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/1.126, allocations: 62.09 kB / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.887e-05/1.126, allocations: 39.48 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/1.127, allocations: 298.7 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/1.127, allocations: 19.62 kB / 1.029 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/1.127, allocations: 29.97 kB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/1.128, allocations: 274.7 kB / 1.03 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.128, allocations: 0 / 1.03 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/1.128, allocations: 10.88 kB / 1.03 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/1.128, allocations: 4 kB / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005218/1.128, allocations: 188.1 kB / 1.03 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/1.131, allocations: 1.127 MB / 1.031 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/1.132, allocations: 213.2 kB / 1.031 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/1.132, allocations: 102.2 kB / 1.031 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/1.132, allocations: 8 kB / 1.031 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/1.132, allocations: 38.48 kB / 1.031 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 2.926e-06/1.132, allocations: 0 / 1.031 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0005908/1.133, allocations: 191.1 kB / 1.031 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/1.133, allocations: 81.11 kB / 1.031 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/1.133, allocations: 255.7 kB / 1.032 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/1.133, allocations: 33.45 kB / 1.032 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/1.133, allocations: 182.2 kB / 1.032 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.98e-05/1.134, allocations: 65.28 kB / 1.032 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/1.134, allocations: 3.812 kB / 1.032 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.134, allocations: 337.6 kB / 1.032 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/1.134, allocations: 56.91 kB / 1.032 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/1.134, allocations: 100.4 kB / 1.032 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/1.134, allocations: 76.02 kB / 1.032 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/1.134, allocations: 4 kB / 1.032 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005555/1.135, allocations: 211.5 kB / 1.033 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.135, allocations: 180.9 kB / 1.033 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.135, allocations: 0 / 1.033 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/1.135, allocations: 7.953 kB / 1.033 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/1.136, allocations: 59.56 kB / 1.033 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/1.136, allocations: 0 / 1.033 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/1.136, allocations: 39.75 kB / 1.033 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/1.136, allocations: 4 kB / 1.033 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.136, allocations: 8 kB / 1.033 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000434/1.137, allocations: 155 kB / 1.033 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/1.137, allocations: 0 / 1.033 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/1.137, allocations: 0 / 1.033 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/1.137, allocations: 51.72 kB / 1.033 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/1.137, allocations: 0 / 1.033 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/1.137, allocations: 35.8 kB / 1.033 GB, free: 7.012 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/1.137, allocations: 7.062 kB / 1.033 GB, free: 7.008 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.0001418/1.138, allocations: 115.1 kB / 1.033 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.329e-05/1.138, allocations: 27.62 kB / 1.033 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006422/1.138, allocations: 220.7 kB / 1.034 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/1.138, allocations: 0 / 1.034 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.138, allocations: 7.938 kB / 1.034 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.138, allocations: 0 / 1.034 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/1.139, allocations: 0.6395 MB / 1.034 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.14, allocations: 0 / 1.034 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/1.14, allocations: 50.84 kB / 1.034 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/1.14, allocations: 0 / 1.034 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/1.14, allocations: 7.312 kB / 1.034 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.14, allocations: 0 / 1.034 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.14, allocations: 4 kB / 1.034 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008346/1.141, allocations: 415.6 kB / 1.035 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/1.141, allocations: 111.9 kB / 1.035 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/1.141, allocations: 3.5 kB / 1.035 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/1.141, allocations: 35.41 kB / 1.035 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/1.142, allocations: 7.984 kB / 1.035 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/1.142, allocations: 11.56 kB / 1.035 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000372/1.142, allocations: 212.4 kB / 1.035 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.4e-07/1.142, allocations: 0 / 1.035 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005738/1.143, allocations: 89.5 kB / 1.035 GB, free: 5.344 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.001284/1.144, allocations: 1.018 MB / 1.036 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007466/1.145, allocations: 252.1 kB / 1.036 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.145, allocations: 4 kB / 1.036 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/1.145, allocations: 81 kB / 1.036 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/1.145, allocations: 55.25 kB / 1.036 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/1.147, allocations: 413.8 kB / 1.037 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/1.147, allocations: 0.7726 MB / 1.038 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003507/1.148, allocations: 46.97 kB / 1.038 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/1.148, allocations: 94.83 kB / 1.038 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of SimCode: time 1.352e-06/1.148, allocations: 0 / 1.038 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/1.179, allocations: 5.593 MB / 1.043 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003684/1.18, allocations: 179.4 kB / 1.043 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.656, allocations: 0 / 1.043 GB, free: 13.23 MB / 0.6667 GB