Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 252 MB / 267.6 MB, free: 10.92 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.001049/0.001049, allocations: 182.1 kB / 327.3 MB, free: 2.215 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.925/1.925, allocations: 205.4 MB / 0.5783 GB, free: 20.22 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.0009121/0.0009121, allocations: 94.34 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.000353, allocations: 8.156 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2387, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002069/0.2408, allocations: 1.675 MB / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00328/0.2442, allocations: 3.447 MB / 0.9058 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.2443, allocations: 0 / 0.9058 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.2445, allocations: 47.73 kB / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.2448, allocations: 95.36 kB / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.2451, allocations: 103.8 kB / 0.9061 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.2453, allocations: 219.1 kB / 0.9063 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2455, allocations: 44.56 kB / 0.9063 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.2457, allocations: 91.61 kB / 0.9064 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.2458, allocations: 103.5 kB / 0.9065 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.2458, allocations: 8 kB / 0.9065 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.246, allocations: 103.8 kB / 0.9066 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.2461, allocations: 43.81 kB / 0.9066 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.2461, allocations: 53.58 kB / 0.9067 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.2463, allocations: 183.8 kB / 0.9069 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.2464, allocations: 4 kB / 0.9069 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2464, allocations: 0 / 0.9069 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2464, allocations: 0 / 0.9069 GB, free: 57.69 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001027/0.2474, allocations: 0.584 MB / 0.9074 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2475, allocations: 12.03 kB / 0.9075 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.2475, allocations: 19.72 kB / 0.9075 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.2479, allocations: 258.5 kB / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2479, allocations: 8 kB / 0.9077 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.2479, allocations: 8 kB / 0.9077 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.2484, allocations: 196.2 kB / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2484, allocations: 0 / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.2485, allocations: 4 kB / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2485, allocations: 0 / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006477/0.2491, allocations: 239.8 kB / 0.9082 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.2499, allocations: 496.3 kB / 0.9086 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.2503, allocations: 154.5 kB / 0.9088 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.2506, allocations: 132.7 kB / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007631/0.2514, allocations: 0.5806 MB / 0.9095 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.2514, allocations: 34.78 kB / 0.9095 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.2514, allocations: 0 / 0.9095 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001166/0.2526, allocations: 413.1 kB / 0.9099 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.2526, allocations: 55.41 kB / 0.91 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.2528, allocations: 230.7 kB / 0.9102 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.2528, allocations: 29.7 kB / 0.9102 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.2529, allocations: 136.1 kB / 0.9103 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.253, allocations: 39.41 kB / 0.9104 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.253, allocations: 0 / 0.9104 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.253, allocations: 338.8 kB / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.2534, allocations: 115.9 kB / 0.9108 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.2537, allocations: 119.8 kB / 0.9109 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.254, allocations: 119.9 kB / 0.911 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.254, allocations: 0 / 0.911 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006956/0.2547, allocations: 301.2 kB / 0.9113 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2548, allocations: 6.5 kB / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2548, allocations: 4 kB / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2548, allocations: 0 / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.2551, allocations: 59.88 kB / 0.9114 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2551, allocations: 3.984 kB / 0.9114 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.2554, allocations: 47.88 kB / 0.9114 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.2554, allocations: 3.984 kB / 0.9114 GB, free: 52.69 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 (11): * Single equations (assignments): 11 * 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 0.0001013/0.2555, allocations: 125.8 kB / 0.9116 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.2555, allocations: 27.7 kB / 0.9116 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000819/0.2564, allocations: 323.2 kB / 0.9119 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2564, allocations: 7.984 kB / 0.9119 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2564, allocations: 0 / 0.9119 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2564, allocations: 0 / 0.9119 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.2566, allocations: 277.3 kB / 0.9122 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2566, allocations: 0 / 0.9122 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.2569, allocations: 63.94 kB / 0.9122 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.2569, allocations: 0 / 0.9122 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.257, allocations: 3.953 kB / 0.9122 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.257, allocations: 0 / 0.9122 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.257, allocations: 0 / 0.9122 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007336/0.2577, allocations: 399.9 kB / 0.9126 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.2578, allocations: 112.7 kB / 0.9127 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.2579, allocations: 15.98 kB / 0.9127 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.2581, allocations: 35.92 kB / 0.9128 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.2582, allocations: 15.92 kB / 0.9128 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.2582, allocations: 7.984 kB / 0.9128 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001032/0.2583, allocations: 166 kB / 0.913 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2583, allocations: 4 kB / 0.913 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002945/0.2586, allocations: 55.98 kB / 0.913 GB, free: 50.99 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 (11): * Single equations (assignments): 11 * 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.0002086/0.2588, allocations: 131.2 kB / 0.9131 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007489/0.2596, allocations: 263.8 kB / 0.9134 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2596, allocations: 0 / 0.9134 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.2599, allocations: 131.9 kB / 0.9135 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.2604, allocations: 37.39 kB / 0.9135 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.2611, allocations: 0.5065 MB / 0.914 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.2613, allocations: 0.7394 MB / 0.9148 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.2614, allocations: 23.41 kB / 0.9148 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2614, allocations: 0 / 0.9148 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.004046/0.2654, allocations: 2.965 MB / 0.9177 GB, free: 46.16 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)