Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0008736/0.0008736, allocations: 98.27 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.006433/0.006434, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.389/1.389, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.71/2.71, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003259, allocations: 13.16 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2792, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002294/0.2816, allocations: 1.888 MB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008964/0.2825, allocations: 0.4907 MB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.2826, allocations: 4 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.2828, allocations: 39.66 kB / 1.077 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.2829, allocations: 27.78 kB / 1.077 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.2832, allocations: 123.9 kB / 1.077 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.2835, allocations: 332.2 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.2838, allocations: 165.1 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.284, allocations: 87.44 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.2841, allocations: 99.3 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.2841, allocations: 12 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.972e-05/0.2842, allocations: 8 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.2842, allocations: 39.77 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.2843, allocations: 136.9 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.2847, allocations: 422.7 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2847, allocations: 4 kB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2847, allocations: 0 / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.2847, allocations: 0 / 1.078 GB, free: 3.672 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.0009176/0.2856, allocations: 0.5709 MB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2857, allocations: 15.97 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.2858, allocations: 36.56 kB / 1.079 GB, free: 3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.2862, allocations: 311.4 kB / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.2862, allocations: 20.94 kB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.2863, allocations: 24.38 kB / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.2868, allocations: 300.1 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2868, allocations: 3.938 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.2869, allocations: 12 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.2869, allocations: 11.98 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.2875, allocations: 222.1 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.2889, allocations: 0.9858 MB / 1.08 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.2894, allocations: 279.3 kB / 1.081 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.2896, allocations: 116.8 kB / 1.081 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2897, allocations: 0 / 1.081 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.2897, allocations: 38.56 kB / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.2897, allocations: 0 / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007346/0.2905, allocations: 277.2 kB / 1.081 GB, free: 280 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.2905, allocations: 63.41 kB / 1.081 GB, free: 204 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.2908, allocations: 266.7 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.2908, allocations: 29.7 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.291, allocations: 176 kB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.291, allocations: 63.09 kB / 1.082 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.2911, allocations: 21.72 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.2912, allocations: 338.8 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.2914, allocations: 83.89 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.2917, allocations: 127.9 kB / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.2921, allocations: 209.3 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2922, allocations: 0 / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005559/0.2927, allocations: 269.2 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/0.2928, allocations: 117.9 kB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2928, allocations: 4 kB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2928, allocations: 3.984 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.2931, allocations: 47.91 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2931, allocations: 7.984 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.2933, allocations: 31.77 kB / 1.083 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.2933, allocations: 15.92 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-06/0.2933, allocations: 5.562 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004483/0.2938, allocations: 207.8 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2938, allocations: 4 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/0.2938, allocations: 0 / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.294, allocations: 47.91 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.294, allocations: 4 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.2941, allocations: 27.83 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.2942, allocations: 4 kB / 1.083 GB, free: 14.04 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.0001692/0.2943, allocations: 229.1 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.2944, allocations: 27.66 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005942/0.295, allocations: 231.7 kB / 1.084 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.295, allocations: 11.94 kB / 1.084 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.295, allocations: 0 / 1.084 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.295, allocations: 0 / 1.084 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009657/0.296, allocations: 0.6401 MB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.296, allocations: 3.984 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.2962, allocations: 39.98 kB / 1.084 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2962, allocations: 0 / 1.084 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.2963, allocations: 7.984 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.2963, allocations: 4 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2963, allocations: 0 / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000767/0.297, allocations: 416.5 kB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.2971, allocations: 100.9 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.2972, allocations: 4 kB / 1.085 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.2973, allocations: 27.97 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.2974, allocations: 11.98 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.2974, allocations: 4 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001919/0.2976, allocations: 198 kB / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2976, allocations: 0 / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004031/0.298, allocations: 87.59 kB / 1.085 GB, free: 11.92 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.0001174/0.2981, allocations: 107.1 kB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007256/0.2989, allocations: 301.8 kB / 1.085 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2989, allocations: 0 / 1.085 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.2991, allocations: 91.89 kB / 1.086 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.2996, allocations: 44.66 kB / 1.086 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008908/0.3005, allocations: 0.5731 MB / 1.086 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3008, allocations: 0.7599 MB / 1.087 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.301, allocations: 29.92 kB / 1.087 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.301, allocations: 23.44 kB / 1.087 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.301, allocations: 0 / 1.087 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of Templates: time 0.005301/0.3063, allocations: 2.106 MB / 1.089 GB, free: 7.855 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)