Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008384/0.008384, allocations: 99.23 kB / 15.73 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 198.9 kB / 16.68 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.537/1.537, allocations: 251.7 MB / 0.5094 GB, free: 3 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 67.91 kB / 0.7258 GB, free: 9.102 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2305, allocations: 104.7 MB / 0.828 GB, free: 296 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003572/0.2341, allocations: 2.14 MB / 0.8301 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004663/0.2388, allocations: 3.802 MB / 0.8338 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.2389, allocations: 0 / 0.8338 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.2393, allocations: 59.5 kB / 0.8339 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.2397, allocations: 123.2 kB / 0.834 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.2401, allocations: 151.6 kB / 0.8342 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.2405, allocations: 310.8 kB / 0.8345 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.2406, allocations: 64.62 kB / 0.8345 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.2408, allocations: 139.5 kB / 0.8347 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.241, allocations: 143.4 kB / 0.8348 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.962e-05/0.2411, allocations: 20 kB / 0.8348 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.2413, allocations: 139.8 kB / 0.8349 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.332e-05/0.2414, allocations: 59.75 kB / 0.835 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2416, allocations: 123.3 kB / 0.8351 GB, free: 9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.242, allocations: 330.9 kB / 0.8354 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.242, allocations: 4 kB / 0.8354 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.242, allocations: 3.938 kB / 0.8354 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.242, allocations: 4 kB / 0.8354 GB, free: 8.664 MB / 0.6544 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.001223/0.2432, allocations: 0.6269 MB / 0.8361 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2433, allocations: 12.03 kB / 0.8361 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008701/0.2442, allocations: 168.5 kB / 0.8362 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000696/0.2449, allocations: 320.3 kB / 0.8365 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.2449, allocations: 8.547 kB / 0.8365 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.2449, allocations: 15.94 kB / 0.8366 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.2456, allocations: 225.3 kB / 0.8368 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2456, allocations: 0 / 0.8368 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.2456, allocations: 7.984 kB / 0.8368 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.2456, allocations: 4 kB / 0.8368 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009058/0.2465, allocations: 279.7 kB / 0.8371 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.2478, allocations: 0.5745 MB / 0.8376 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.2484, allocations: 174.4 kB / 0.8378 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.2488, allocations: 153 kB / 0.8379 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008283/0.2497, allocations: 0.5493 MB / 0.8385 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.2497, allocations: 42.55 kB / 0.8385 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 4.348e-06/0.2497, allocations: 0 / 0.8385 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.001579/0.2513, allocations: 486.5 kB / 0.839 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.2514, allocations: 51.41 kB / 0.839 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.2516, allocations: 264.6 kB / 0.8393 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.2517, allocations: 25.7 kB / 0.8393 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2518, allocations: 155.9 kB / 0.8394 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.2518, allocations: 39.36 kB / 0.8395 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.2519, allocations: 45.69 kB / 0.8395 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2521, allocations: 338.8 kB / 0.8398 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.2526, allocations: 147.9 kB / 0.84 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.253, allocations: 151.8 kB / 0.8401 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009028/0.2539, allocations: 287.4 kB / 0.8404 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2539, allocations: 3.938 kB / 0.8404 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00104/0.255, allocations: 373 kB / 0.8408 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.255, allocations: 4 kB / 0.8408 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.255, allocations: 3.984 kB / 0.8408 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.2551, allocations: 4 kB / 0.8408 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.2555, allocations: 63.86 kB / 0.8408 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2555, allocations: 0 / 0.8408 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.2558, allocations: 59.67 kB / 0.8409 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.2559, allocations: 7.984 kB / 0.8409 GB, free: 2.742 MB / 0.6544 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 0.0001271/0.256, allocations: 125.8 kB / 0.841 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.2561, allocations: 27.7 kB / 0.841 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.2572, allocations: 387.3 kB / 0.8414 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2572, allocations: 0 / 0.8414 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2572, allocations: 0 / 0.8414 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2573, allocations: 3.938 kB / 0.8414 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.2576, allocations: 305.4 kB / 0.8417 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2576, allocations: 0 / 0.8417 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.258, allocations: 63.92 kB / 0.8418 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.258, allocations: 0 / 0.8418 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.258, allocations: 4 kB / 0.8418 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2581, allocations: 3.984 kB / 0.8418 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2581, allocations: 0 / 0.8418 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.2591, allocations: 450.1 kB / 0.8422 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.2593, allocations: 124.7 kB / 0.8423 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.2593, allocations: 7.984 kB / 0.8423 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.2596, allocations: 31.95 kB / 0.8424 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.2597, allocations: 19.97 kB / 0.8424 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.2598, allocations: 7.938 kB / 0.8424 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001855/0.2599, allocations: 187.1 kB / 0.8426 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.26, allocations: 0 / 0.8426 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003536/0.2603, allocations: 75.89 kB / 0.8426 GB, free: 0.8555 MB / 0.6544 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.0002265/0.2605, allocations: 123.2 kB / 0.8428 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.2616, allocations: 327.7 kB / 0.8431 GB, free: 416 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.2616, allocations: 0 / 0.8431 GB, free: 416 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004898/0.2621, allocations: 171.7 kB / 0.8432 GB, free: 244 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.2626, allocations: 41.03 kB / 0.8433 GB, free: 208 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2636, allocations: 0.4899 MB / 0.8438 GB, free: 15.69 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.2639, allocations: 0.7474 MB / 0.8445 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002045/0.2641, allocations: 41.39 kB / 0.8445 GB, free: 14.87 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.2642, allocations: 31.41 kB / 0.8446 GB, free: 14.84 MB / 0.67 GB Notification: Performance of SimCode: time 3.91e-07/0.2642, allocations: 4 kB / 0.8446 GB, free: 14.84 MB / 0.67 GB Notification: Performance of Templates: time 0.00707/0.2713, allocations: 3.296 MB / 0.8478 GB, free: 11.57 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)