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.226/2.226, allocations: 251 MB / 265.9 MB, free: 11.68 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.00168/0.00168, allocations: 174.8 kB / 325.5 MB, free: 2.891 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.394/2.394, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001151/0.001151, allocations: 93.31 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004913, allocations: 13.97 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2135, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2303/0.4438, allocations: 135.4 MB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/0.4442, allocations: 87.94 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02224/0.4665, allocations: 5.517 MB / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4665, allocations: 0 / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.246e-05/0.4666, allocations: 4 kB / 1.036 GB, free: 4.324 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001348/0.4679, allocations: 0.5999 MB / 1.037 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.468, allocations: 8.031 kB / 1.037 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.4681, allocations: 58.55 kB / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.4682, allocations: 35.58 kB / 1.037 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.4688, allocations: 302.3 kB / 1.037 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.4689, allocations: 20.5 kB / 1.037 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/0.4689, allocations: 35.94 kB / 1.038 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/0.4699, allocations: 309.4 kB / 1.038 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.47, allocations: 4 kB / 1.038 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.47, allocations: 12 kB / 1.038 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.47, allocations: 8 kB / 1.038 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.4711, allocations: 258 kB / 1.038 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.4735, allocations: 1.124 MB / 1.039 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.4747, allocations: 282.8 kB / 1.039 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.4748, allocations: 4 kB / 1.039 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.4748, allocations: 38.5 kB / 1.039 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 3.647e-06/0.4748, allocations: 0 / 1.039 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001575/0.4764, allocations: 363 kB / 1.04 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.4765, allocations: 77.11 kB / 1.04 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.477, allocations: 262.5 kB / 1.04 GB, free: 352 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.4771, allocations: 25.7 kB / 1.04 GB, free: 320 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.4773, allocations: 176.2 kB / 1.04 GB, free: 136 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.323e-05/0.4774, allocations: 67.08 kB / 1.04 GB, free: 68 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.4774, allocations: 4 kB / 1.04 GB, free: 64 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4776, allocations: 346.8 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.478, allocations: 92.33 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.4785, allocations: 140.2 kB / 1.041 GB, free: 15.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.479, allocations: 106.2 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.479, allocations: 0 / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001093/0.4801, allocations: 291.5 kB / 1.041 GB, free: 15.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.4803, allocations: 179.9 kB / 1.042 GB, free: 14.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4803, allocations: 11.98 kB / 1.042 GB, free: 14.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.4804, allocations: 0 / 1.042 GB, free: 14.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.4808, allocations: 47.97 kB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.4809, allocations: 0 / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.4812, allocations: 43.81 kB / 1.042 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.4813, allocations: 12 kB / 1.042 GB, free: 14.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.4813, allocations: 0 / 1.042 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008194/0.4821, allocations: 215.9 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4822, allocations: 3.938 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.4822, allocations: 0 / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.4826, allocations: 47.91 kB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4827, allocations: 0 / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.483, allocations: 35.77 kB / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.483, allocations: 16.03 kB / 1.042 GB, free: 14.47 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 (conRadSup.conPIDRad.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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.0003194/0.4834, allocations: 229 kB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.011e-05/0.4835, allocations: 27.62 kB / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.4846, allocations: 287.8 kB / 1.042 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.4847, allocations: 0 / 1.042 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4847, allocations: 0 / 1.042 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.4847, allocations: 0 / 1.042 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.4864, allocations: 0.7174 MB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4865, allocations: 0 / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.4869, allocations: 47.97 kB / 1.043 GB, free: 13.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.487, allocations: 4 kB / 1.043 GB, free: 13.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.487, allocations: 7.922 kB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.487, allocations: 0 / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.487, allocations: 4 kB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.4886, allocations: 0.5132 MB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.4888, allocations: 104.8 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.4888, allocations: 4 kB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.4892, allocations: 27.97 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.269e-05/0.4893, allocations: 15.98 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.4893, allocations: 4 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003564/0.4897, allocations: 218 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4897, allocations: 0 / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005849/0.4903, allocations: 91.69 kB / 1.044 GB, free: 12.07 MB / 0.698 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 () * Number of clocked 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.001944/0.4922, allocations: 1.127 MB / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.4937, allocations: 342.5 kB / 1.046 GB, free: 10.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4937, allocations: 0 / 1.046 GB, free: 10.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005159/0.4942, allocations: 123.8 kB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.4949, allocations: 48.69 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004678/0.4996, allocations: 1.859 MB / 1.048 GB, free: 8.484 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.5, allocations: 0.7754 MB / 1.048 GB, free: 7.684 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002726/0.5003, allocations: 34.28 kB / 1.048 GB, free: 7.652 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.5006, allocations: 100.5 kB / 1.048 GB, free: 7.555 MB / 0.698 GB Notification: Performance of SimCode: time 1.443e-06/0.5006, allocations: 0 / 1.048 GB, free: 7.555 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/0.538, allocations: 5.258 MB / 1.054 GB, free: 2.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003654/0.5385, allocations: 200 kB / 1.054 GB, free: 2.262 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/3.138, allocations: 0 / 1.054 GB, free: 2.262 MB / 0.698 GB