Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.59/1.59, 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.001091/0.001091, allocations: 178.6 kB / 327.6 MB, free: 2.109 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.892/1.892, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0009003/0.0009005, allocations: 78.02 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003721, allocations: 8.562 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2468, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001867/0.2487, allocations: 1.628 MB / 0.9031 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003203/0.2519, allocations: 3.386 MB / 0.9064 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.252, allocations: 0 / 0.9064 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.2523, allocations: 48.03 kB / 0.9064 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.2527, allocations: 119.4 kB / 0.9065 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.868e-05/0.2527, allocations: 23.98 kB / 0.9065 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.2529, allocations: 187.1 kB / 0.9067 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.253, allocations: 25.67 kB / 0.9067 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.2532, allocations: 83.62 kB / 0.9068 GB, free: 58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.2534, allocations: 71.62 kB / 0.9069 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.2534, allocations: 8 kB / 0.9069 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.083e-05/0.2535, allocations: 27.98 kB / 0.9069 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.2535, allocations: 35.77 kB / 0.907 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.24e-05/0.2536, allocations: 97.25 kB / 0.9071 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.2538, allocations: 107.7 kB / 0.9072 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2538, allocations: 0 / 0.9072 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2538, allocations: 0 / 0.9072 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.2538, allocations: 4 kB / 0.9072 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.0007535/0.2546, allocations: 0.4947 MB / 0.9076 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2546, allocations: 8.031 kB / 0.9076 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.2547, allocations: 20.66 kB / 0.9077 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.255, allocations: 250.8 kB / 0.9079 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.255, allocations: 4.375 kB / 0.9079 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.255, allocations: 384 / 0.9079 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.2553, allocations: 157.7 kB / 0.9081 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2554, allocations: 0 / 0.9081 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.2554, allocations: 4 kB / 0.9081 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.2554, allocations: 11.98 kB / 0.9081 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.2558, allocations: 159.8 kB / 0.9082 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.2564, allocations: 472.4 kB / 0.9087 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.2568, allocations: 182.5 kB / 0.9089 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.2571, allocations: 108.8 kB / 0.909 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.2571, allocations: 4 kB / 0.909 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.2571, allocations: 38.56 kB / 0.909 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.2571, allocations: 0 / 0.909 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0008162/0.2579, allocations: 313.3 kB / 0.9093 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.258, allocations: 59.41 kB / 0.9094 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.2581, allocations: 217 kB / 0.9096 GB, free: 55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2582, allocations: 29.7 kB / 0.9096 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.2582, allocations: 116.1 kB / 0.9097 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.2583, allocations: 55.28 kB / 0.9098 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.2583, allocations: 0 / 0.9098 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.2583, allocations: 330.8 kB / 0.9101 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.2586, allocations: 83.94 kB / 0.9101 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.2588, allocations: 88.17 kB / 0.9102 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.2592, allocations: 178.9 kB / 0.9104 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2592, allocations: 0 / 0.9104 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004575/0.2596, allocations: 233.3 kB / 0.9106 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2597, allocations: 12 kB / 0.9106 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2597, allocations: 0 / 0.9106 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2597, allocations: 0 / 0.9106 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.2599, allocations: 39.95 kB / 0.9107 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.26, allocations: 4 kB / 0.9107 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.2601, allocations: 27.89 kB / 0.9107 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.2601, allocations: 4 kB / 0.9107 GB, free: 53.79 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 8.951e-05/0.2602, allocations: 133.7 kB / 0.9108 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.2603, allocations: 15.81 kB / 0.9109 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.2603, allocations: 25.83 kB / 0.9109 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2603, allocations: 4 kB / 0.9109 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2603, allocations: 0 / 0.9109 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2604, allocations: 0 / 0.9109 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.2606, allocations: 269.3 kB / 0.9111 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2606, allocations: 4 kB / 0.9111 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.2608, allocations: 39.95 kB / 0.9112 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2608, allocations: 0 / 0.9112 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.2608, allocations: 8 kB / 0.9112 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2608, allocations: 0 / 0.9112 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2608, allocations: 0 / 0.9112 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.2613, allocations: 342.2 kB / 0.9115 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.2614, allocations: 108.8 kB / 0.9116 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.2614, allocations: 7.938 kB / 0.9116 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.2617, allocations: 19.97 kB / 0.9116 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.2617, allocations: 11.98 kB / 0.9117 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.2617, allocations: 7.938 kB / 0.9117 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.307e-05/0.2618, allocations: 156.5 kB / 0.9118 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2618, allocations: 0 / 0.9118 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002383/0.2621, allocations: 43.94 kB / 0.9119 GB, free: 52.52 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.0001506/0.2622, allocations: 111.2 kB / 0.912 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004659/0.2627, allocations: 195.8 kB / 0.9121 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2627, allocations: 0 / 0.9121 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.263, allocations: 103.9 kB / 0.9122 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.2634, allocations: 30.11 kB / 0.9123 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.264, allocations: 0.5266 MB / 0.9128 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.2642, allocations: 0.7316 MB / 0.9135 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.2643, allocations: 19.42 kB / 0.9135 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2643, allocations: 0 / 0.9135 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.003283/0.2676, allocations: 2.287 MB / 0.9158 GB, free: 48.48 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)