Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002461/0.002461, allocations: 173.1 kB / 16.27 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.746/2.746, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003769, allocations: 8.719 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2899, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002416/0.2923, allocations: 1.888 MB / 1.076 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009084/0.2933, allocations: 0.4985 MB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.2934, allocations: 8 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.2936, allocations: 31.67 kB / 1.077 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.2937, allocations: 31.77 kB / 1.077 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.294, allocations: 119.9 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.2943, allocations: 328.2 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.2946, allocations: 177.1 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.2948, allocations: 79.52 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.2949, allocations: 103.3 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.295, allocations: 8 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.278e-05/0.295, allocations: 8 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.295, allocations: 35.78 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.2952, allocations: 148.8 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.2955, allocations: 426.7 kB / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2955, allocations: 0 / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2955, allocations: 0 / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.2955, allocations: 0 / 1.078 GB, free: 3.688 MB / 0.8262 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.0008905/0.2964, allocations: 0.5614 MB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2965, allocations: 11.97 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.2966, allocations: 40.55 kB / 1.079 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.2969, allocations: 311.3 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.297, allocations: 20.94 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.297, allocations: 24.38 kB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.2976, allocations: 300.2 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2976, allocations: 3.938 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.2977, allocations: 12 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2977, allocations: 12 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.2982, allocations: 218.1 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.2997, allocations: 0.9936 MB / 1.08 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.3002, allocations: 279.9 kB / 1.081 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.3005, allocations: 104.8 kB / 1.081 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.3005, allocations: 15.98 kB / 1.081 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3006, allocations: 34.5 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3006, allocations: 3.938 kB / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007636/0.3013, allocations: 283.8 kB / 1.081 GB, free: 288 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.3014, allocations: 51.41 kB / 1.081 GB, free: 224 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.3017, allocations: 266.8 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.3018, allocations: 33.7 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.3019, allocations: 180.1 kB / 1.082 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.3019, allocations: 51.11 kB / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.302, allocations: 29.7 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3021, allocations: 334.8 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.3024, allocations: 75.95 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.3026, allocations: 135.9 kB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.3031, allocations: 205.3 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3031, allocations: 4 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005585/0.3037, allocations: 266.7 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.907e-05/0.3038, allocations: 120.4 kB / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3038, allocations: 0 / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3038, allocations: 4 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.3041, allocations: 48 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3041, allocations: 0 / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.3043, allocations: 35.77 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.3043, allocations: 7.938 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.3043, allocations: 7.938 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004436/0.3048, allocations: 213.3 kB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.3048, allocations: 0 / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/0.3048, allocations: 4 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.305, allocations: 48.05 kB / 1.083 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.305, allocations: 3.984 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.3051, allocations: 23.84 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.3051, allocations: 8 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.3053, allocations: 225 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.3054, allocations: 27.66 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005969/0.306, allocations: 233.1 kB / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.306, allocations: 4 kB / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.306, allocations: 0 / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.306, allocations: 7.922 kB / 1.084 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.3071, allocations: 0.6465 MB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3071, allocations: 0 / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.3073, allocations: 43.91 kB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3074, allocations: 4 kB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3074, allocations: 0 / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3074, allocations: 0 / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3074, allocations: 0 / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007655/0.3082, allocations: 424.3 kB / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.3082, allocations: 100.8 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.3083, allocations: 8 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3085, allocations: 15.98 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.3085, allocations: 15.97 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3085, allocations: 12.05 kB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001879/0.3087, allocations: 190 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3087, allocations: 0 / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003863/0.3091, allocations: 87.59 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001542/0.3093, allocations: 115.1 kB / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006995/0.31, allocations: 295.7 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.31, allocations: 8.125 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.3102, allocations: 87.89 kB / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.3108, allocations: 45.08 kB / 1.086 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3119, allocations: 0.5793 MB / 1.086 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3122, allocations: 0.7599 MB / 1.087 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.3124, allocations: 29.92 kB / 1.087 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.3125, allocations: 23.44 kB / 1.087 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of SimCode: time 6.71e-07/0.3125, allocations: 0 / 1.087 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of Templates: time 0.00607/0.3186, allocations: 2.1 MB / 1.089 GB, free: 7.883 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)