Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.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.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.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.00124/0.00124, 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.001524/0.001524, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.23 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.344, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003739/0.3478, allocations: 1.951 MB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00428/0.3521, allocations: 3.424 MB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.3523, allocations: 4 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.3526, allocations: 39.8 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005183/0.3532, allocations: 119.4 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.435e-05/0.3533, allocations: 31.89 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.3535, allocations: 167.2 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3536, allocations: 25.69 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.3538, allocations: 87.56 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.354, allocations: 79.67 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.354, allocations: 11.94 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.704e-05/0.3541, allocations: 27.92 kB / 1.074 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.3542, allocations: 39.84 kB / 1.074 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.136e-05/0.3543, allocations: 79.53 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.3545, allocations: 163.3 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3546, allocations: 0 / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3546, allocations: 0 / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3546, allocations: 0 / 1.074 GB, free: 4.523 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.000902/0.3555, allocations: 0.4945 MB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3555, allocations: 12.03 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.3556, allocations: 20.66 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.356, allocations: 254.8 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.356, allocations: 4.359 kB / 1.075 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.356, allocations: 4.375 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.3564, allocations: 137.7 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3564, allocations: 4 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.3565, allocations: 0 / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.3565, allocations: 8 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.3569, allocations: 140.9 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/0.3577, allocations: 444.5 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.3581, allocations: 162.4 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.3584, allocations: 108.7 kB / 1.076 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.3584, allocations: 3.984 kB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.3584, allocations: 30.56 kB / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.3584, allocations: 4 kB / 1.076 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008541/0.3593, allocations: 285.1 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.3593, allocations: 51.41 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.3596, allocations: 209 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.3596, allocations: 29.7 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.3597, allocations: 116.1 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.3597, allocations: 59.28 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.3598, allocations: 25.7 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3599, allocations: 330.8 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.3602, allocations: 79.86 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.3604, allocations: 75.94 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.3608, allocations: 148.8 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3609, allocations: 0 / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000518/0.3614, allocations: 209.4 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3614, allocations: 8 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3614, allocations: 0 / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3614, allocations: 0 / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.3617, allocations: 35.91 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3617, allocations: 3.938 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.3619, allocations: 23.88 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3619, allocations: 4 kB / 1.077 GB, free: 0.8359 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.0001236/0.362, allocations: 133.8 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.3621, allocations: 15.81 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.3621, allocations: 25.84 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3621, allocations: 0 / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3622, allocations: 0 / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3622, allocations: 3.984 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.3625, allocations: 265.3 kB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3625, allocations: 4 kB / 1.078 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.3627, allocations: 39.89 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3627, allocations: 4 kB / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3627, allocations: 0 / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3627, allocations: 3.938 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3627, allocations: 0 / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.3633, allocations: 317.7 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.3634, allocations: 108.8 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.3635, allocations: 4 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.3637, allocations: 11.98 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.3637, allocations: 11.98 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.3638, allocations: 15.97 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001259/0.3639, allocations: 152.5 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3639, allocations: 0 / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002732/0.3642, allocations: 35.94 kB / 1.078 GB, free: 15.61 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.0001784/0.3644, allocations: 111.2 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005477/0.3649, allocations: 183.8 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3649, allocations: 0 / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.3652, allocations: 91.86 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.3656, allocations: 29.11 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.3664, allocations: 465.6 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3667, allocations: 0.7275 MB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.3669, allocations: 48.38 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.367, allocations: 19.44 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.367, allocations: 0 / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.004309/0.3713, allocations: 1.607 MB / 1.081 GB, free: 12.32 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)