Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.098/2.098, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 185.5 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 121.6 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 52.92 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2592, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002954/0.2622, allocations: 2.061 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003248/0.2655, allocations: 3.672 MB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2656, allocations: 4 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.2659, allocations: 47.73 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.2662, allocations: 103.3 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.2665, allocations: 103.8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.2668, allocations: 247.1 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2669, allocations: 52.31 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.2671, allocations: 103.6 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.2673, allocations: 111.5 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.2673, allocations: 12 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.2675, allocations: 103.8 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.2676, allocations: 39.83 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.978e-05/0.2677, allocations: 95.38 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.2679, allocations: 263.1 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.268, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.503e-06/0.268, allocations: 4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.268, allocations: 4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001034/0.269, allocations: 0.5878 MB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2691, allocations: 11.98 kB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.2691, allocations: 24.66 kB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.2695, allocations: 263.7 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.2695, allocations: 4.375 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.2695, allocations: 12.38 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.27, allocations: 173.6 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.27, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.27, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.27, allocations: 4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006207/0.2706, allocations: 195.8 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007228/0.2714, allocations: 496.2 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.2717, allocations: 122.5 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.2721, allocations: 112.8 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006742/0.2727, allocations: 0.5493 MB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.2728, allocations: 34.56 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.2728, allocations: 0 / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.001069/0.2739, allocations: 357.2 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.2739, allocations: 55.34 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.2741, allocations: 234.7 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.2741, allocations: 29.7 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.2742, allocations: 148 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.2742, allocations: 35.45 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.2743, allocations: 25.7 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.2743, allocations: 338.8 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.2746, allocations: 87.91 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.2749, allocations: 103.9 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.2755, allocations: 196.7 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2755, allocations: 0 / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006583/0.2762, allocations: 257.8 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2762, allocations: 4 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2762, allocations: 0 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2763, allocations: 0 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.2765, allocations: 47.94 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2766, allocations: 3.938 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.2768, allocations: 31.88 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.2768, allocations: 4 kB / 1.229 GB, free: 105.4 MB / 0.823 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 (11): * Single equations (assignments): 11 * 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.473e-05/0.2769, allocations: 134.4 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.2769, allocations: 23.72 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007393/0.2777, allocations: 291.1 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2777, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2777, allocations: 3.938 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2777, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.2779, allocations: 273.5 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2779, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.2782, allocations: 55.88 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2782, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.2782, allocations: 3.984 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2782, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2782, allocations: 7.938 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.2794, allocations: 1.055 MB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.2794, allocations: 112.7 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.2795, allocations: 4 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.2797, allocations: 27.95 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.2798, allocations: 11.98 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.2798, allocations: 7.984 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 9.109e-05/0.2799, allocations: 170 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2799, allocations: 0 / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003821/0.2803, allocations: 59.84 kB / 1.231 GB, free: 103 MB / 0.823 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 (11): * Single equations (assignments): 11 * 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.0001858/0.2805, allocations: 138 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006702/0.2812, allocations: 223.6 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2812, allocations: 0 / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.2815, allocations: 115.8 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.282, allocations: 37.52 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007807/0.2828, allocations: 0.5928 MB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2829, allocations: 0.7355 MB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.2831, allocations: 44.83 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.2831, allocations: 19.42 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.2831, allocations: 0 / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of Templates: time 0.004475/0.2876, allocations: 2.457 MB / 1.236 GB, free: 98.66 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)