Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_8_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.0009317/0.0009315, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001213/0.001213, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.792/1.792, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006402/0.0006406, allocations: 16.88 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2933, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002934/0.2963, allocations: 1.798 MB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.2976, allocations: 499.8 kB / 0.7895 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.2978, allocations: 4 kB / 0.7895 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.298, allocations: 31.66 kB / 0.7896 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.2981, allocations: 31.72 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.2984, allocations: 79.91 kB / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.2987, allocations: 320.3 kB / 0.79 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.299, allocations: 120.3 kB / 0.7901 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.2992, allocations: 83.52 kB / 0.7902 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.2993, allocations: 99.34 kB / 0.7903 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.2994, allocations: 8 kB / 0.7903 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.467e-05/0.2994, allocations: 8 kB / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.2995, allocations: 39.78 kB / 0.7903 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.2995, allocations: 73.58 kB / 0.7904 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.2999, allocations: 375.3 kB / 0.7907 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2999, allocations: 3.938 kB / 0.7907 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2999, allocations: 0 / 0.7907 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.2999, allocations: 0 / 0.7907 GB, free: 8.336 MB / 0.6075 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.0009929/0.3009, allocations: 0.5922 MB / 0.7913 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.301, allocations: 8.031 kB / 0.7913 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.3011, allocations: 31.62 kB / 0.7914 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.3015, allocations: 330 kB / 0.7917 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.3016, allocations: 12.56 kB / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.3016, allocations: 24 kB / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.3022, allocations: 291.6 kB / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3022, allocations: 0 / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.3022, allocations: 16 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3023, allocations: 4 kB / 0.792 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.3028, allocations: 218.1 kB / 0.7922 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.3043, allocations: 0.9975 MB / 0.7932 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.3049, allocations: 291.9 kB / 0.7935 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.3051, allocations: 108.8 kB / 0.7936 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.3051, allocations: 0 / 0.7936 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3052, allocations: 38.5 kB / 0.7936 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.3052, allocations: 0 / 0.7936 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0007111/0.3059, allocations: 283.9 kB / 0.7939 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.306, allocations: 55.41 kB / 0.7939 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.3063, allocations: 282.9 kB / 0.7942 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3063, allocations: 33.7 kB / 0.7942 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.3065, allocations: 184 kB / 0.7944 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.3065, allocations: 55.19 kB / 0.7945 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.3065, allocations: 4 kB / 0.7945 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3067, allocations: 338.8 kB / 0.7948 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.3069, allocations: 75.95 kB / 0.7949 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.3071, allocations: 125.1 kB / 0.795 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.3073, allocations: 98.94 kB / 0.7951 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3073, allocations: 0 / 0.7951 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005065/0.3079, allocations: 261.1 kB / 0.7953 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.894e-05/0.308, allocations: 120.6 kB / 0.7954 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.308, allocations: 0 / 0.7954 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.308, allocations: 4 kB / 0.7954 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.3082, allocations: 51.91 kB / 0.7955 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.3082, allocations: 7.953 kB / 0.7955 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.3084, allocations: 31.73 kB / 0.7955 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.3084, allocations: 8 kB / 0.7955 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-06/0.3084, allocations: 4 kB / 0.7955 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004686/0.3089, allocations: 207.8 kB / 0.7957 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.3089, allocations: 3.938 kB / 0.7957 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/0.3089, allocations: 4 kB / 0.7957 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.3091, allocations: 51.91 kB / 0.7958 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.3091, allocations: 0 / 0.7958 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3093, allocations: 27.86 kB / 0.7958 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.3093, allocations: 12 kB / 0.7958 GB, free: 2.832 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.3095, allocations: 221.1 kB / 0.796 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.3096, allocations: 27.67 kB / 0.7961 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005768/0.3102, allocations: 242.5 kB / 0.7963 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3102, allocations: 3.984 kB / 0.7963 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3102, allocations: 0 / 0.7963 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3102, allocations: 4 kB / 0.7963 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000919/0.3111, allocations: 0.6387 MB / 0.7969 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3111, allocations: 0 / 0.7969 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.3113, allocations: 39.98 kB / 0.797 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3113, allocations: 3.984 kB / 0.797 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3114, allocations: 7.984 kB / 0.797 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3114, allocations: 0 / 0.797 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3114, allocations: 4 kB / 0.797 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.3121, allocations: 414 kB / 0.7974 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.3122, allocations: 104.8 kB / 0.7975 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.3122, allocations: 12.12 kB / 0.7975 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.3124, allocations: 23.97 kB / 0.7975 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.3125, allocations: 11.98 kB / 0.7975 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3125, allocations: 4 kB / 0.7975 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001906/0.3127, allocations: 202 kB / 0.7977 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3127, allocations: 0 / 0.7977 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003868/0.3131, allocations: 87.59 kB / 0.7978 GB, free: 0.7031 MB / 0.6075 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 (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.0001369/0.3133, allocations: 103.2 kB / 0.7979 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006792/0.3139, allocations: 302.2 kB / 0.7982 GB, free: 308 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.314, allocations: 0 / 0.7982 GB, free: 308 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.3142, allocations: 92.33 kB / 0.7983 GB, free: 216 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.3146, allocations: 43.67 kB / 0.7983 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.3155, allocations: 0.5642 MB / 0.7989 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.3159, allocations: 0.7676 MB / 0.7996 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.316, allocations: 29.94 kB / 0.7997 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.3161, allocations: 19.44 kB / 0.7997 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.3161, allocations: 0 / 0.7997 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.005457/0.3216, allocations: 2.049 MB / 0.8017 GB, free: 12.71 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) Environment - environmentSimulation: