Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.184/2.184, allocations: 391.2 MB / 407 MB, free: 10.85 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.001482/0.001483, allocations: 189.4 kB / 499.1 MB, free: 4.613 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.454/1.454, allocations: 222.9 MB / 0.7948 GB, free: 15.71 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.001013/0.001013, allocations: 107.7 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 56.14 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2206, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002816/0.2234, allocations: 2.186 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.2267, allocations: 3.757 MB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.2268, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.2271, allocations: 55.67 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.2274, allocations: 115.2 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.2276, allocations: 127.7 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.2279, allocations: 302.8 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.228, allocations: 52.72 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.2282, allocations: 123.5 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.2283, allocations: 139.3 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.2283, allocations: 12 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.2285, allocations: 127.8 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.2286, allocations: 51.81 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.2287, allocations: 115.2 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.229, allocations: 318.9 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.229, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.112e-06/0.229, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.229, allocations: 0 / 1.225 GB, free: 109.7 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001005/0.23, allocations: 0.6347 MB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.23, allocations: 15.92 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008635/0.2309, allocations: 180.3 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.2315, allocations: 312.3 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.2315, allocations: 8.562 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.2316, allocations: 15.94 kB / 1.227 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.2322, allocations: 226.1 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2322, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.2322, allocations: 4 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2322, allocations: 4 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008893/0.2331, allocations: 283.7 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.2341, allocations: 0.5784 MB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.2346, allocations: 166.4 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/0.2351, allocations: 156.7 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006378/0.2357, allocations: 0.5493 MB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.2358, allocations: 46.56 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2358, allocations: 0 / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.001469/0.2372, allocations: 489.1 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.2373, allocations: 55.41 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.2374, allocations: 256.6 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2375, allocations: 33.7 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.2375, allocations: 152 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.2376, allocations: 39.36 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.2376, allocations: 37.69 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.2377, allocations: 342.8 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.2382, allocations: 147.9 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.2386, allocations: 147.9 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.2395, allocations: 294.5 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2395, allocations: 0 / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009809/0.2405, allocations: 374.2 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.2405, allocations: 12 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2405, allocations: 0 / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2406, allocations: 0 / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.241, allocations: 63.92 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.241, allocations: 0 / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.2413, allocations: 55.72 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.2413, allocations: 4 kB / 1.231 GB, free: 103.8 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 (17): * Single equations (assignments): 17 * 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.587e-05/0.2414, allocations: 138.4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.2415, allocations: 27.62 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.2425, allocations: 375.3 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2425, allocations: 0 / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.2426, allocations: 7.984 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2426, allocations: 7.922 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.2428, allocations: 301.4 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2428, allocations: 0 / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.2431, allocations: 59.86 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2432, allocations: 4 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.2432, allocations: 7.984 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2432, allocations: 0 / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2432, allocations: 0 / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.2448, allocations: 1.207 MB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.881e-05/0.2449, allocations: 124.8 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.2449, allocations: 3.938 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.2452, allocations: 35.95 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.2453, allocations: 15.97 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.2453, allocations: 15.98 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000104/0.2454, allocations: 187.1 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2455, allocations: 0 / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003868/0.2458, allocations: 68 kB / 1.233 GB, free: 101.1 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 (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.0001699/0.246, allocations: 143 kB / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009933/0.247, allocations: 319.7 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.247, allocations: 0 / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004756/0.2475, allocations: 163.8 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.2479, allocations: 34.25 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008948/0.2488, allocations: 0.7092 MB / 1.235 GB, free: 99.66 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.249, allocations: 0.7477 MB / 1.235 GB, free: 98.89 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.2492, allocations: 45.39 kB / 1.235 GB, free: 98.85 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.525e-05/0.2493, allocations: 23.41 kB / 1.235 GB, free: 98.82 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.2493, allocations: 0 / 1.235 GB, free: 98.82 MB / 0.823 GB Notification: Performance of Templates: time 0.0048/0.2541, allocations: 3.029 MB / 1.238 GB, free: 95.82 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)