Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 197.4 kB / 16.53 MB, free: 6.672 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001231, allocations: 64.33 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2823, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002935/0.2853, allocations: 1.864 MB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003918/0.2892, allocations: 3.606 MB / 1.074 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/0.2893, allocations: 4 kB / 1.074 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007201/0.29, allocations: 187.5 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.2902, allocations: 75.53 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.637e-05/0.2903, allocations: 27.95 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.2907, allocations: 267.1 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.765e-05/0.2908, allocations: 29.48 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.2909, allocations: 79.7 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.2911, allocations: 79.61 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.2911, allocations: 8 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-05/0.2912, allocations: 31.86 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.2913, allocations: 55.81 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.97e-05/0.2914, allocations: 91.41 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.2916, allocations: 183.3 kB / 1.075 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2916, allocations: 0 / 1.075 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2916, allocations: 0 / 1.075 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2916, allocations: 4 kB / 1.075 GB, free: 3.824 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008437/0.2925, allocations: 0.5255 MB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2925, allocations: 12.03 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.2926, allocations: 20.66 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.2929, allocations: 251.5 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.293, allocations: 12.36 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.293, allocations: 8.359 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.2933, allocations: 141.7 kB / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.2934, allocations: 0 / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.2934, allocations: 0 / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.2934, allocations: 15.98 kB / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.2939, allocations: 141.6 kB / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.2946, allocations: 464.3 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.295, allocations: 170.5 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.2953, allocations: 104.8 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.2953, allocations: 4 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.2953, allocations: 38.55 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.2953, allocations: 0 / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008369/0.2962, allocations: 297.2 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.2962, allocations: 59.41 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.2964, allocations: 242.7 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.2965, allocations: 25.7 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.2966, allocations: 132 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.2966, allocations: 51.3 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.2967, allocations: 29.7 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2968, allocations: 338.8 kB / 1.078 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.2971, allocations: 75.94 kB / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.2973, allocations: 75.92 kB / 1.078 GB, free: 444 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.2978, allocations: 164.7 kB / 1.078 GB, free: 276 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2978, allocations: 0 / 1.078 GB, free: 276 kB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005345/0.2983, allocations: 217.4 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2983, allocations: 4 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2983, allocations: 0 / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2984, allocations: 11.94 kB / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.2986, allocations: 35.95 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.2986, allocations: 0 / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.2988, allocations: 16 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.2988, allocations: 11.94 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001236/0.299, allocations: 142.2 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.299, allocations: 23.72 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/0.2991, allocations: 33.83 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2991, allocations: 4 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2991, allocations: 0 / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2991, allocations: 0 / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.2994, allocations: 273.4 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2994, allocations: 0 / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.2997, allocations: 35.95 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2997, allocations: 0 / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.2997, allocations: 8 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2997, allocations: 0 / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2997, allocations: 4 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.3003, allocations: 322.5 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3004, allocations: 112.8 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.3005, allocations: 8 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.3007, allocations: 11.98 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.3007, allocations: 15.98 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3007, allocations: 3.984 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001624/0.3009, allocations: 178 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3009, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002905/0.3012, allocations: 47.94 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (13): * Single equations (assignments): 13 * 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.0001684/0.3014, allocations: 111.2 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005822/0.302, allocations: 187.9 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.302, allocations: 0 / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.3023, allocations: 99.86 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.3027, allocations: 48.3 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008247/0.3036, allocations: 474.4 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.3039, allocations: 0.7512 MB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001834/0.3041, allocations: 53.31 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.3042, allocations: 19.42 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3042, allocations: 0 / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.006342/0.3106, allocations: 2.483 MB / 1.083 GB, free: 10.47 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)