Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 98.03 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.001484/0.001484, allocations: 171.9 kB / 16.26 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.537/1.537, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 9.438 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3571, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002074/0.3592, allocations: 1.578 MB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004142/0.3634, allocations: 3.463 MB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.3635, allocations: 0 / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007108/0.3642, allocations: 163.4 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.3644, allocations: 67.59 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.122e-05/0.3645, allocations: 23.91 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.365, allocations: 291 kB / 1.08 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3651, allocations: 25.83 kB / 1.08 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3652, allocations: 67.7 kB / 1.08 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.3654, allocations: 71.69 kB / 1.08 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3654, allocations: 0 / 1.08 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.159e-05/0.3655, allocations: 27.91 kB / 1.08 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.3656, allocations: 51.81 kB / 1.08 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.747e-05/0.3657, allocations: 105.2 kB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3659, allocations: 171.2 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.3659, allocations: 0 / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3659, allocations: 0 / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3659, allocations: 4 kB / 1.08 GB, free: 1.441 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.0008166/0.3667, allocations: 0.4985 MB / 1.081 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3668, allocations: 15.97 kB / 1.081 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.3668, allocations: 24.64 kB / 1.081 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.3672, allocations: 247.6 kB / 1.081 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.3672, allocations: 384 / 1.081 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.3672, allocations: 12.3 kB / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.3676, allocations: 151.1 kB / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3676, allocations: 0 / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.3676, allocations: 3.984 kB / 1.081 GB, free: 416 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.3677, allocations: 15.92 kB / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004491/0.3681, allocations: 151.9 kB / 1.081 GB, free: 248 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/0.3688, allocations: 452.6 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.3692, allocations: 174.4 kB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.3695, allocations: 108.8 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3695, allocations: 0 / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3696, allocations: 38.56 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3696, allocations: 0 / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0008445/0.3704, allocations: 304.6 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3705, allocations: 59.39 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.3707, allocations: 234.6 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3707, allocations: 33.7 kB / 1.083 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.3708, allocations: 136 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.3709, allocations: 47.39 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.3709, allocations: 13.72 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.371, allocations: 338.8 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.3712, allocations: 75.94 kB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.3715, allocations: 79.94 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.372, allocations: 172.7 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.372, allocations: 0 / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005426/0.3725, allocations: 236.6 kB / 1.084 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3725, allocations: 4 kB / 1.084 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3725, allocations: 4 kB / 1.084 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3726, allocations: 0 / 1.084 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.3728, allocations: 47.89 kB / 1.084 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3728, allocations: 0 / 1.084 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.373, allocations: 27.83 kB / 1.084 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.373, allocations: 11.94 kB / 1.084 GB, free: 13.57 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.0001176/0.3731, allocations: 147.5 kB / 1.084 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.3732, allocations: 15.81 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.3733, allocations: 25.84 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3733, allocations: 3.984 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3733, allocations: 0 / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3733, allocations: 0 / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.3736, allocations: 265.4 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3736, allocations: 0 / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.3738, allocations: 51.89 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3738, allocations: 0 / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3738, allocations: 0 / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3738, allocations: 4 kB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3738, allocations: 0 / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.3744, allocations: 327.1 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.3745, allocations: 104.9 kB / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.3745, allocations: 8 kB / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3747, allocations: 19.98 kB / 1.085 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.3748, allocations: 7.984 kB / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3748, allocations: 3.984 kB / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001308/0.375, allocations: 177.9 kB / 1.085 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.375, allocations: 0 / 1.085 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002892/0.3753, allocations: 55.77 kB / 1.085 GB, free: 12.29 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.0001603/0.3754, allocations: 107.2 kB / 1.085 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005344/0.376, allocations: 183.8 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.376, allocations: 0 / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.3762, allocations: 91.94 kB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.3768, allocations: 52.45 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/0.3777, allocations: 0.5292 MB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.3781, allocations: 0.7399 MB / 1.086 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.3783, allocations: 45.05 kB / 1.087 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.3784, allocations: 19.42 kB / 1.087 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.3784, allocations: 0 / 1.087 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.005657/0.384, allocations: 2.072 MB / 1.089 GB, free: 8.434 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)