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.415/1.415, allocations: 252 MB / 267.6 MB, free: 10.93 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.0009935/0.0009935, allocations: 173.7 kB / 327.3 MB, free: 2.223 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.876/1.876, allocations: 205.4 MB / 0.5783 GB, free: 20.48 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.0009745/0.0009751, allocations: 80.62 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 13.62 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2346, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001881/0.2365, allocations: 1.586 MB / 0.9024 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002985/0.2395, allocations: 3.244 MB / 0.9055 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.2396, allocations: 0 / 0.9055 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.2399, allocations: 35.77 kB / 0.9056 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.2402, allocations: 119.4 kB / 0.9057 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.782e-05/0.2403, allocations: 19.97 kB / 0.9057 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.2404, allocations: 167.2 kB / 0.9059 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.2405, allocations: 25.67 kB / 0.9059 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.2407, allocations: 67.7 kB / 0.906 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.2408, allocations: 91.55 kB / 0.9061 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.2409, allocations: 4 kB / 0.9061 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.137e-05/0.2409, allocations: 19.98 kB / 0.9061 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.241, allocations: 35.83 kB / 0.9061 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.241, allocations: 53.58 kB / 0.9062 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.2412, allocations: 115.9 kB / 0.9063 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2412, allocations: 4 kB / 0.9063 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2412, allocations: 0 / 0.9063 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2412, allocations: 0 / 0.9063 GB, free: 58.7 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.0007552/0.242, allocations: 0.4945 MB / 0.9068 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.242, allocations: 8.031 kB / 0.9068 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.242, allocations: 27.67 kB / 0.9068 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.2423, allocations: 233.8 kB / 0.907 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2424, allocations: 3.984 kB / 0.907 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.2424, allocations: 4 kB / 0.907 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.2427, allocations: 153.5 kB / 0.9072 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2427, allocations: 0 / 0.9072 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.2428, allocations: 0 / 0.9072 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.2428, allocations: 12 kB / 0.9072 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.2432, allocations: 159.8 kB / 0.9073 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.2438, allocations: 464.5 kB / 0.9078 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.2442, allocations: 182.4 kB / 0.9079 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.2444, allocations: 112.8 kB / 0.9081 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.2445, allocations: 0 / 0.9081 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.2445, allocations: 38.52 kB / 0.9081 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.2445, allocations: 4 kB / 0.9081 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007561/0.2453, allocations: 317.6 kB / 0.9084 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.2453, allocations: 55.41 kB / 0.9085 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.2455, allocations: 213 kB / 0.9087 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.2455, allocations: 29.7 kB / 0.9087 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.2455, allocations: 124.1 kB / 0.9088 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.2456, allocations: 47.36 kB / 0.9088 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.2456, allocations: 0 / 0.9088 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.2457, allocations: 326.8 kB / 0.9092 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.2459, allocations: 87.92 kB / 0.9092 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.2461, allocations: 82.56 kB / 0.9093 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.2463, allocations: 87.94 kB / 0.9094 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2463, allocations: 0 / 0.9094 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004701/0.2468, allocations: 237.4 kB / 0.9096 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2468, allocations: 11.89 kB / 0.9096 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2468, allocations: 0 / 0.9096 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2469, allocations: 4 kB / 0.9096 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.2471, allocations: 31.97 kB / 0.9097 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2471, allocations: 4 kB / 0.9097 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.2473, allocations: 35.81 kB / 0.9097 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.2473, allocations: 0 / 0.9097 GB, free: 54.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.359e-05/0.2474, allocations: 129.8 kB / 0.9098 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.2474, allocations: 19.75 kB / 0.9099 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.2475, allocations: 25.8 kB / 0.9099 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2475, allocations: 0 / 0.9099 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2475, allocations: 8 kB / 0.9099 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2475, allocations: 3.984 kB / 0.9099 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.2477, allocations: 269.4 kB / 0.9102 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2478, allocations: 0 / 0.9102 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.248, allocations: 35.97 kB / 0.9102 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.248, allocations: 0 / 0.9102 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.248, allocations: 3.984 kB / 0.9102 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.248, allocations: 7.891 kB / 0.9102 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.248, allocations: 4 kB / 0.9102 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.2485, allocations: 338.4 kB / 0.9105 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.2486, allocations: 116.7 kB / 0.9106 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.2486, allocations: 7.938 kB / 0.9106 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.2488, allocations: 19.98 kB / 0.9107 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.2489, allocations: 15.94 kB / 0.9107 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.2489, allocations: 11.98 kB / 0.9107 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.624e-05/0.249, allocations: 148.5 kB / 0.9108 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.249, allocations: 0 / 0.9108 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000243/0.2493, allocations: 36 kB / 0.9109 GB, free: 53.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001414/0.2494, allocations: 107.2 kB / 0.911 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004985/0.2499, allocations: 191.8 kB / 0.9111 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2499, allocations: 0 / 0.9111 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.2502, allocations: 103.9 kB / 0.9112 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.2505, allocations: 25.92 kB / 0.9113 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.2512, allocations: 0.515 MB / 0.9118 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.2514, allocations: 0.7238 MB / 0.9125 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.2515, allocations: 27.42 kB / 0.9125 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2515, allocations: 4 kB / 0.9125 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.003429/0.2549, allocations: 2.296 MB / 0.9148 GB, free: 49.65 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)