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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01038/0.01038, allocations: 102.6 kB / 15.73 MB, free: 6.062 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.001809/0.001809, allocations: 198.1 kB / 16.68 MB, free: 5.977 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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.536/1.536, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001391/0.001391, allocations: 75.83 kB / 0.7258 GB, free: 9.113 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2344, allocations: 104.7 MB / 0.828 GB, free: 324 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003626/0.238, allocations: 2.015 MB / 0.83 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004587/0.2426, allocations: 3.705 MB / 0.8336 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.2428, allocations: 0 / 0.8336 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.2431, allocations: 51.56 kB / 0.8337 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.2436, allocations: 111.3 kB / 0.8338 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.2439, allocations: 127.6 kB / 0.8339 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.2443, allocations: 255.1 kB / 0.8341 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2444, allocations: 44.33 kB / 0.8342 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.2447, allocations: 115.6 kB / 0.8343 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.2448, allocations: 123.5 kB / 0.8344 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.2449, allocations: 19.94 kB / 0.8344 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.2451, allocations: 119.8 kB / 0.8345 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.2452, allocations: 47.83 kB / 0.8346 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.2453, allocations: 91.45 kB / 0.8347 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.2457, allocations: 283 kB / 0.8349 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2457, allocations: 0 / 0.8349 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2457, allocations: 0 / 0.8349 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.2457, allocations: 0 / 0.8349 GB, free: 9.195 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001206/0.2469, allocations: 0.5801 MB / 0.8355 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.247, allocations: 12.03 kB / 0.8355 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.247, allocations: 24.66 kB / 0.8356 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.2474, allocations: 267.6 kB / 0.8358 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2475, allocations: 8.375 kB / 0.8358 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.2475, allocations: 8.375 kB / 0.8358 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.248, allocations: 168.6 kB / 0.836 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.248, allocations: 4 kB / 0.836 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.2481, allocations: 7.984 kB / 0.836 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2481, allocations: 4 kB / 0.836 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007055/0.2488, allocations: 191.8 kB / 0.8362 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008815/0.2497, allocations: 492.2 kB / 0.8366 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.2501, allocations: 126.5 kB / 0.8368 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.2505, allocations: 108.8 kB / 0.8369 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009485/0.2515, allocations: 0.5532 MB / 0.8374 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2515, allocations: 38.5 kB / 0.8375 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.2515, allocations: 0 / 0.8375 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001268/0.2528, allocations: 345.5 kB / 0.8378 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.2528, allocations: 59.62 kB / 0.8378 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.2531, allocations: 242.6 kB / 0.8381 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.2531, allocations: 25.7 kB / 0.8381 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.2532, allocations: 144 kB / 0.8382 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.2533, allocations: 35.47 kB / 0.8383 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.2534, allocations: 29.69 kB / 0.8383 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2535, allocations: 330.8 kB / 0.8386 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.2539, allocations: 95.92 kB / 0.8387 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.2543, allocations: 99.95 kB / 0.8388 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/0.255, allocations: 196.6 kB / 0.839 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.255, allocations: 0 / 0.839 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008324/0.2558, allocations: 261.2 kB / 0.8392 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2559, allocations: 4 kB / 0.8392 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2559, allocations: 0 / 0.8392 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2559, allocations: 4 kB / 0.8392 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.2563, allocations: 55.88 kB / 0.8393 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/0.2563, allocations: 3.938 kB / 0.8393 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.2565, allocations: 31.91 kB / 0.8393 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.2566, allocations: 7.984 kB / 0.8393 GB, free: 4.363 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 (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 0.0001396/0.2567, allocations: 121.8 kB / 0.8395 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.2568, allocations: 19.72 kB / 0.8395 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009294/0.2577, allocations: 283.1 kB / 0.8397 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.2577, allocations: 4 kB / 0.8397 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2577, allocations: 7.938 kB / 0.8398 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2578, allocations: 0 / 0.8398 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.2581, allocations: 281.3 kB / 0.84 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2581, allocations: 0 / 0.84 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.2584, allocations: 47.88 kB / 0.8401 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2584, allocations: 0 / 0.8401 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.2585, allocations: 4 kB / 0.8401 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2585, allocations: 0 / 0.8401 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2585, allocations: 3.938 kB / 0.8401 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008873/0.2594, allocations: 355.1 kB / 0.8404 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.2595, allocations: 116.8 kB / 0.8405 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.2595, allocations: 0 / 0.8405 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.2598, allocations: 27.95 kB / 0.8405 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/0.2599, allocations: 15.92 kB / 0.8406 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.2599, allocations: 15.92 kB / 0.8406 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001424/0.2601, allocations: 162 kB / 0.8407 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2601, allocations: 0 / 0.8407 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003805/0.2605, allocations: 63.91 kB / 0.8408 GB, free: 2.773 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 (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.000246/0.2607, allocations: 135.2 kB / 0.8409 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008606/0.2616, allocations: 212.4 kB / 0.8411 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2616, allocations: 0 / 0.8411 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.262, allocations: 123.8 kB / 0.8412 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.2625, allocations: 28.92 kB / 0.8413 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009171/0.2634, allocations: 426.3 kB / 0.8417 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.2638, allocations: 0.7392 MB / 0.8424 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001522/0.264, allocations: 44.77 kB / 0.8424 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.264, allocations: 19.42 kB / 0.8425 GB, free: 1 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.264, allocations: 0 / 0.8425 GB, free: 1 MB / 0.6544 GB Notification: Performance of Templates: time 0.005968/0.27, allocations: 2.713 MB / 0.8451 GB, free: 14.32 MB / 0.67 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)