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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 181.9 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.4 MB / 0.5786 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007877/0.0007878, allocations: 91.69 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004009, allocations: 9.312 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2508, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002421/0.2533, allocations: 1.632 MB / 0.903 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00409/0.2574, allocations: 3.378 MB / 0.9063 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.2576, allocations: 0 / 0.9063 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.258, allocations: 44.03 kB / 0.9064 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006187/0.2586, allocations: 119.4 kB / 0.9065 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.296e-05/0.2587, allocations: 23.97 kB / 0.9065 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.259, allocations: 175.2 kB / 0.9067 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2591, allocations: 37.64 kB / 0.9067 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.2593, allocations: 71.66 kB / 0.9068 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.2595, allocations: 75.61 kB / 0.9069 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.2596, allocations: 4 kB / 0.9069 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.2597, allocations: 27.92 kB / 0.9069 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.2598, allocations: 35.84 kB / 0.9069 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.188e-05/0.2598, allocations: 93.23 kB / 0.907 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.26, allocations: 107.8 kB / 0.9071 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.26, allocations: 0 / 0.9071 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.323e-06/0.26, allocations: 0 / 0.9071 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.26, allocations: 0 / 0.9071 GB, free: 57.65 MB / 0.6042 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.0007823/0.2608, allocations: 494.6 kB / 0.9076 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2609, allocations: 12.03 kB / 0.9076 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.2609, allocations: 28.64 kB / 0.9076 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.2613, allocations: 238.9 kB / 0.9079 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2613, allocations: 4.375 kB / 0.9079 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.2613, allocations: 384 / 0.9079 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.2617, allocations: 160.1 kB / 0.908 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2617, allocations: 0 / 0.908 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.2617, allocations: 4 kB / 0.908 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.2617, allocations: 11.98 kB / 0.908 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.2622, allocations: 151.8 kB / 0.9082 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.2628, allocations: 452.5 kB / 0.9086 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.2632, allocations: 174.5 kB / 0.9088 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.2635, allocations: 105 kB / 0.9089 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.2635, allocations: 8 kB / 0.9089 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.2635, allocations: 42.5 kB / 0.9089 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.2635, allocations: 3.938 kB / 0.9089 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.000778/0.2643, allocations: 300.2 kB / 0.9092 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.2644, allocations: 51.41 kB / 0.9093 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.2645, allocations: 213 kB / 0.9095 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.2645, allocations: 29.7 kB / 0.9095 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.2646, allocations: 120 kB / 0.9096 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.2647, allocations: 43.39 kB / 0.9097 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.2647, allocations: 0 / 0.9097 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.2647, allocations: 334.8 kB / 0.91 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.265, allocations: 83.94 kB / 0.9101 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.2652, allocations: 75.94 kB / 0.9101 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.2656, allocations: 176.7 kB / 0.9103 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2656, allocations: 0 / 0.9103 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004688/0.2661, allocations: 230 kB / 0.9105 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2661, allocations: 4 kB / 0.9105 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2661, allocations: 4 kB / 0.9105 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2661, allocations: 0 / 0.9105 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.2664, allocations: 43.84 kB / 0.9106 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2664, allocations: 0 / 0.9106 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.2665, allocations: 19.97 kB / 0.9106 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.2666, allocations: 4 kB / 0.9106 GB, free: 53.89 MB / 0.6042 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.0001001/0.2667, allocations: 137.8 kB / 0.9107 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.2667, allocations: 19.72 kB / 0.9107 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.2668, allocations: 25.84 kB / 0.9108 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2668, allocations: 0 / 0.9108 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2668, allocations: 3.984 kB / 0.9108 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2668, allocations: 0 / 0.9108 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.267, allocations: 257.5 kB / 0.911 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.267, allocations: 0 / 0.911 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.2673, allocations: 51.89 kB / 0.9111 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2673, allocations: 0 / 0.9111 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.2673, allocations: 0 / 0.9111 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2673, allocations: 0 / 0.9111 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2673, allocations: 0 / 0.9111 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.2678, allocations: 332 kB / 0.9114 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.2679, allocations: 112.8 kB / 0.9115 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.268, allocations: 8 kB / 0.9115 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.2681, allocations: 19.97 kB / 0.9115 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.2682, allocations: 11.98 kB / 0.9115 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2682, allocations: 7.984 kB / 0.9115 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000109/0.2683, allocations: 152.5 kB / 0.9117 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2684, allocations: 0 / 0.9117 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002616/0.2686, allocations: 39.88 kB / 0.9117 GB, free: 52.63 MB / 0.6042 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.0001745/0.2688, allocations: 115.2 kB / 0.9118 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.2693, allocations: 177.4 kB / 0.912 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2693, allocations: 0 / 0.912 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.2695, allocations: 103.9 kB / 0.9121 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.27, allocations: 31.06 kB / 0.9121 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007914/0.2708, allocations: 0.5128 MB / 0.9126 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.271, allocations: 0.7317 MB / 0.9133 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.271, allocations: 19.42 kB / 0.9134 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.271, allocations: 0 / 0.9134 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.004183/0.2752, allocations: 2.196 MB / 0.9155 GB, free: 48.71 MB / 0.6042 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)