Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.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.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.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.00151/0.00151, 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.001772/0.001772, allocations: 189.4 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.748/2.748, allocations: 472.6 MB / 0.7448 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.41 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3576, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00353/0.3611, allocations: 1.964 MB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004129/0.3653, allocations: 3.432 MB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3655, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.3658, allocations: 39.81 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005121/0.3663, allocations: 119.4 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.905e-05/0.3664, allocations: 27.98 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.3667, allocations: 179.1 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3668, allocations: 29.67 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.367, allocations: 87.62 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3672, allocations: 83.61 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.3673, allocations: 12 kB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.3674, allocations: 27.92 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.526e-05/0.3675, allocations: 35.89 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3676, allocations: 83.42 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.3678, allocations: 167.3 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3679, allocations: 0 / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3679, allocations: 0 / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3679, allocations: 4 kB / 1.074 GB, free: 4.418 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.001034/0.3689, allocations: 0.51 MB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.369, allocations: 8.031 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.369, allocations: 16.75 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.3694, allocations: 250.8 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3695, allocations: 8.312 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3695, allocations: 8.375 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.3699, allocations: 143.3 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3699, allocations: 0 / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.3699, allocations: 3.984 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.3699, allocations: 8 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.3704, allocations: 147.9 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/0.3711, allocations: 452.4 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.3715, allocations: 170.5 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.3718, allocations: 108.8 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3718, allocations: 0 / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.3718, allocations: 34.56 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.3719, allocations: 0 / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008259/0.3727, allocations: 300.9 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3727, allocations: 59.39 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3729, allocations: 209 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.373, allocations: 25.7 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.373, allocations: 124.1 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.3731, allocations: 47.34 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.3732, allocations: 29.7 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3733, allocations: 334.8 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.3735, allocations: 75.94 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.3737, allocations: 71.94 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.3742, allocations: 168.7 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.3742, allocations: 0 / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005189/0.3747, allocations: 224.7 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3747, allocations: 11.94 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3747, allocations: 0 / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3748, allocations: 4 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.375, allocations: 31.97 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.375, allocations: 3.938 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.3752, allocations: 15.97 kB / 1.077 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3752, allocations: 8 kB / 1.077 GB, free: 0.6484 MB / 0.8262 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.0001243/0.3754, allocations: 133.7 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.3754, allocations: 23.72 kB / 1.077 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.437e-05/0.3755, allocations: 21.84 kB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3755, allocations: 4 kB / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3755, allocations: 0 / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3755, allocations: 3.984 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.3758, allocations: 269.4 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3758, allocations: 0 / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.3761, allocations: 35.97 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3761, allocations: 0 / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.3761, allocations: 7.984 kB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3761, allocations: 4 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3761, allocations: 0 / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.3767, allocations: 323 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.3768, allocations: 112.9 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.3768, allocations: 4 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.377, allocations: 11.98 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.3771, allocations: 11.98 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3771, allocations: 7.984 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001271/0.3772, allocations: 152.5 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3772, allocations: 0 / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002733/0.3775, allocations: 43.88 kB / 1.078 GB, free: 15.41 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.0001566/0.3777, allocations: 111.2 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005353/0.3782, allocations: 187.8 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3782, allocations: 0 / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.3785, allocations: 99.86 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.3789, allocations: 24.42 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008078/0.3797, allocations: 474.7 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.38, allocations: 0.7312 MB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.3802, allocations: 52.58 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.3803, allocations: 15.44 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3803, allocations: 11.88 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.004543/0.3848, allocations: 1.734 MB / 1.082 GB, free: 11.96 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)