Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.008675/0.008675, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.001918/0.001918, allocations: 195.1 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.648/1.648, allocations: 251.7 MB / 0.5094 GB, free: 3.094 MB / 414.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.001476/0.001476, allocations: 71.89 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2545, allocations: 104.7 MB / 0.828 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003291/0.2578, allocations: 1.902 MB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003982/0.2618, allocations: 3.46 MB / 0.8333 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.2619, allocations: 0 / 0.8333 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.2623, allocations: 59.62 kB / 0.8333 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005475/0.2629, allocations: 119.3 kB / 0.8335 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.706e-05/0.263, allocations: 27.95 kB / 0.8335 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.2632, allocations: 171.2 kB / 0.8336 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2634, allocations: 37.59 kB / 0.8337 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.2636, allocations: 75.7 kB / 0.8337 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.2638, allocations: 79.56 kB / 0.8338 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.2638, allocations: 8 kB / 0.8338 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.2639, allocations: 35.97 kB / 0.8339 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.264, allocations: 35.84 kB / 0.8339 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.591e-05/0.2641, allocations: 79.47 kB / 0.834 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.2644, allocations: 163.4 kB / 0.8341 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2644, allocations: 0 / 0.8341 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2644, allocations: 0 / 0.8341 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.2644, allocations: 3.984 kB / 0.8341 GB, free: 9.895 MB / 0.6544 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.0009338/0.2654, allocations: 0.4945 MB / 0.8346 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.2654, allocations: 12.03 kB / 0.8346 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.2655, allocations: 16.75 kB / 0.8346 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.2659, allocations: 242.8 kB / 0.8349 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2659, allocations: 8.375 kB / 0.8349 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.2659, allocations: 384 / 0.8349 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.2663, allocations: 141.7 kB / 0.835 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2663, allocations: 4 kB / 0.835 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.2663, allocations: 7.922 kB / 0.835 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.2664, allocations: 8 kB / 0.835 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.2668, allocations: 135.8 kB / 0.8352 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.2675, allocations: 448.4 kB / 0.8356 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.2679, allocations: 154.5 kB / 0.8357 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.2682, allocations: 104.8 kB / 0.8358 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.2682, allocations: 7.969 kB / 0.8359 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.2683, allocations: 38.75 kB / 0.8359 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2683, allocations: 0 / 0.8359 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0008218/0.2691, allocations: 281.5 kB / 0.8362 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.2691, allocations: 51.41 kB / 0.8362 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.2693, allocations: 205 kB / 0.8364 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.2694, allocations: 33.7 kB / 0.8364 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.2695, allocations: 128 kB / 0.8366 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.2695, allocations: 39.45 kB / 0.8366 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.2696, allocations: 29.7 kB / 0.8366 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2697, allocations: 334.8 kB / 0.8369 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.2699, allocations: 67.94 kB / 0.837 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.2702, allocations: 79.56 kB / 0.8371 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.2706, allocations: 160.7 kB / 0.8372 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2706, allocations: 0 / 0.8372 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005212/0.2711, allocations: 213.3 kB / 0.8374 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2712, allocations: 4 kB / 0.8374 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2712, allocations: 0 / 0.8374 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2712, allocations: 0 / 0.8374 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.2714, allocations: 31.97 kB / 0.8375 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2715, allocations: 3.938 kB / 0.8375 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.2716, allocations: 19.92 kB / 0.8375 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.2717, allocations: 7.984 kB / 0.8375 GB, free: 6.227 MB / 0.6544 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.0001271/0.2718, allocations: 129.8 kB / 0.8376 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.2718, allocations: 23.72 kB / 0.8377 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.089e-05/0.2719, allocations: 29.83 kB / 0.8377 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2719, allocations: 0 / 0.8377 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.2719, allocations: 0 / 0.8377 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.2719, allocations: 0 / 0.8377 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.2722, allocations: 261.5 kB / 0.8379 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2722, allocations: 7.938 kB / 0.8379 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.2725, allocations: 31.97 kB / 0.838 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2725, allocations: 0 / 0.838 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.2725, allocations: 3.984 kB / 0.838 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2725, allocations: 7.938 kB / 0.838 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2725, allocations: 0 / 0.838 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.2731, allocations: 315.1 kB / 0.8383 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.641e-05/0.2732, allocations: 108.8 kB / 0.8384 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.2732, allocations: 4 kB / 0.8384 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.2734, allocations: 11.98 kB / 0.8384 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.2735, allocations: 15.98 kB / 0.8384 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2735, allocations: 0 / 0.8384 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001315/0.2736, allocations: 160.5 kB / 0.8386 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2736, allocations: 0 / 0.8386 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002706/0.2739, allocations: 39.94 kB / 0.8386 GB, free: 5 MB / 0.6544 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.0001699/0.2741, allocations: 103.2 kB / 0.8387 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005131/0.2746, allocations: 168.4 kB / 0.8389 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.2746, allocations: 4 kB / 0.8389 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.2749, allocations: 93.11 kB / 0.839 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.2753, allocations: 31.41 kB / 0.839 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007953/0.2761, allocations: 410.1 kB / 0.8394 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.2764, allocations: 0.7275 MB / 0.8401 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.2766, allocations: 56.58 kB / 0.8401 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.2767, allocations: 15.42 kB / 0.8402 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.2767, allocations: 0 / 0.8402 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of Templates: time 0.004816/0.2815, allocations: 1.726 MB / 0.8418 GB, free: 1.652 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)