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.00136/0.00136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001695/0.001695, allocations: 192 kB / 16.25 MB, free: 6.625 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 57.59 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2932, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003626/0.2968, allocations: 2.25 MB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.298, allocations: 0.5024 MB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.2982, allocations: 11.94 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.2985, allocations: 27.72 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.2986, allocations: 35.72 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.2989, allocations: 119.9 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.2994, allocations: 368.2 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.2997, allocations: 185.1 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.2999, allocations: 127.5 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.3001, allocations: 135.3 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.3001, allocations: 40 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.758e-05/0.3002, allocations: 47.94 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.3003, allocations: 83.75 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.3004, allocations: 155.1 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004608/0.3009, allocations: 458.8 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3009, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3009, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.3009, allocations: 4 kB / 1.072 GB, free: 6.273 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.001077/0.302, allocations: 0.608 MB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.3021, allocations: 8.031 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.052e-05/0.3021, allocations: 32.56 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.3026, allocations: 319.3 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3026, allocations: 20.94 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.3027, allocations: 20.38 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005597/0.3032, allocations: 284.2 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3033, allocations: 7.938 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.3033, allocations: 11.98 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.3033, allocations: 8 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.3038, allocations: 206.1 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.3053, allocations: 0.9897 MB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.3058, allocations: 271.2 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.3061, allocations: 104.8 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.3061, allocations: 4 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.3062, allocations: 38.48 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.053e-06/0.3062, allocations: 0 / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007026/0.3069, allocations: 262.9 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.3069, allocations: 51.41 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.3072, allocations: 266.7 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.3072, allocations: 33.7 kB / 1.076 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3074, allocations: 176.1 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.3074, allocations: 55.19 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.279e-05/0.3075, allocations: 45.61 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3076, allocations: 338.8 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.3079, allocations: 80.75 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.3081, allocations: 125 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.3085, allocations: 186 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3085, allocations: 4.031 kB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005221/0.3091, allocations: 255.2 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3091, allocations: 5.406 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3091, allocations: 4 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3091, allocations: 0 / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.3094, allocations: 48.09 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.3094, allocations: 0 / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.3096, allocations: 35.7 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3096, allocations: 4 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002541/0.3099, allocations: 184 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002267/0.3101, allocations: 116 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003439/0.3105, allocations: 181.9 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.3105, allocations: 4.031 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004372/0.3109, allocations: 237.1 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3109, allocations: 8 kB / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-06/0.3109, allocations: 0 / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-06/0.311, allocations: 4 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.3111, allocations: 43.97 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.3112, allocations: 4.125 kB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.3114, allocations: 19.84 kB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3114, allocations: 15.92 kB / 1.078 GB, free: 308 kB / 0.8262 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.0001266/0.3115, allocations: 188.2 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.3116, allocations: 23.72 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000547/0.3121, allocations: 221.4 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3121, allocations: 4.062 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.3121, allocations: 4 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3122, allocations: 3.984 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.3131, allocations: 0.6191 MB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3131, allocations: 4 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.3133, allocations: 39.91 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3133, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.3133, allocations: 8 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3133, allocations: 0 / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3133, allocations: 3.938 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.314, allocations: 392.7 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.3141, allocations: 104.8 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.3142, allocations: 0 / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.3143, allocations: 15.98 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.3144, allocations: 15.92 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3144, allocations: 11.92 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001878/0.3146, allocations: 198 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3146, allocations: 0 / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003938/0.315, allocations: 87.59 kB / 1.079 GB, free: 14.28 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.000133/0.3151, allocations: 103.2 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007454/0.3159, allocations: 281.5 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3159, allocations: 0 / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.3161, allocations: 85.14 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.3166, allocations: 48.41 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009811/0.3176, allocations: 0.5617 MB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.318, allocations: 0.7634 MB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.3182, allocations: 33.92 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.3183, allocations: 19.44 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3183, allocations: 3.938 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of Templates: time 0.005789/0.3241, allocations: 2.203 MB / 1.083 GB, free: 10.16 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)