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.01039/0.01039, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.002045/0.002045, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.52/1.52, allocations: 205.1 MB / 222.6 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.569/1.569, allocations: 251.7 MB / 0.5094 GB, free: 3.016 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.00155/0.00155, allocations: 70.09 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2346, allocations: 104.7 MB / 0.828 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003398/0.2381, allocations: 2.01 MB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004763/0.2428, allocations: 3.705 MB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.243, allocations: 0 / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.2433, allocations: 55.56 kB / 0.8337 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.2438, allocations: 103.3 kB / 0.8338 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.2442, allocations: 127.6 kB / 0.8339 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.2446, allocations: 255 kB / 0.8341 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.2448, allocations: 56.31 kB / 0.8342 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.2451, allocations: 115.6 kB / 0.8343 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.2453, allocations: 115.5 kB / 0.8344 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.2453, allocations: 16 kB / 0.8344 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.2456, allocations: 115.8 kB / 0.8345 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.787e-05/0.2457, allocations: 55.75 kB / 0.8346 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.2458, allocations: 87.47 kB / 0.8347 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.2463, allocations: 283 kB / 0.835 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2463, allocations: 0 / 0.835 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2463, allocations: 4 kB / 0.835 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.2463, allocations: 0 / 0.835 GB, free: 9.066 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.001207/0.2475, allocations: 0.584 MB / 0.8355 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2476, allocations: 8.031 kB / 0.8355 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.2477, allocations: 24.66 kB / 0.8356 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.2481, allocations: 267.6 kB / 0.8358 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.2481, allocations: 4.375 kB / 0.8358 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.2482, allocations: 12.31 kB / 0.8358 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.2486, allocations: 169.7 kB / 0.836 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.2487, allocations: 0 / 0.836 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.2487, allocations: 8 kB / 0.836 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2487, allocations: 0 / 0.836 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.2494, allocations: 195.8 kB / 0.8362 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000905/0.2503, allocations: 488.3 kB / 0.8366 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.2507, allocations: 130.4 kB / 0.8368 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.251, allocations: 104.8 kB / 0.8369 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008829/0.2519, allocations: 0.5532 MB / 0.8374 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.252, allocations: 38.56 kB / 0.8374 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.252, allocations: 0 / 0.8374 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001167/0.2531, allocations: 353.1 kB / 0.8378 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.2532, allocations: 51.62 kB / 0.8378 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.2534, allocations: 238.7 kB / 0.8381 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.2535, allocations: 29.64 kB / 0.8381 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.998e-05/0.2536, allocations: 144 kB / 0.8382 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.2536, allocations: 35.47 kB / 0.8383 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.2537, allocations: 29.69 kB / 0.8383 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2539, allocations: 330.8 kB / 0.8386 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.2542, allocations: 95.92 kB / 0.8387 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.2545, allocations: 92.34 kB / 0.8388 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/0.2551, allocations: 204.8 kB / 0.839 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2551, allocations: 4 kB / 0.839 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007351/0.2559, allocations: 261.1 kB / 0.8392 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2559, allocations: 8 kB / 0.8392 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.2559, allocations: 0 / 0.8392 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2559, allocations: 0 / 0.8392 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.2563, allocations: 47.94 kB / 0.8393 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.2563, allocations: 3.938 kB / 0.8393 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.2565, allocations: 27.97 kB / 0.8393 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.2565, allocations: 7.984 kB / 0.8393 GB, free: 4.25 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.0001248/0.2566, allocations: 125.8 kB / 0.8394 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.2567, allocations: 23.72 kB / 0.8395 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008011/0.2575, allocations: 291.1 kB / 0.8397 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2575, allocations: 0 / 0.8397 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2575, allocations: 7.938 kB / 0.8398 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2575, allocations: 0 / 0.8398 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.2578, allocations: 281.3 kB / 0.84 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2579, allocations: 0 / 0.84 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.2581, allocations: 51.88 kB / 0.8401 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2581, allocations: 0 / 0.8401 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.2582, allocations: 0 / 0.8401 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2582, allocations: 0 / 0.8401 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2582, allocations: 7.938 kB / 0.8401 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007516/0.2589, allocations: 355.1 kB / 0.8404 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/0.259, allocations: 112.8 kB / 0.8405 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.2591, allocations: 0 / 0.8405 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.2593, allocations: 27.95 kB / 0.8406 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.2594, allocations: 15.92 kB / 0.8406 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.2594, allocations: 11.98 kB / 0.8406 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001386/0.2596, allocations: 162 kB / 0.8407 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2596, allocations: 4 kB / 0.8407 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003376/0.2599, allocations: 59.91 kB / 0.8408 GB, free: 2.652 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.0002356/0.2602, allocations: 143.1 kB / 0.8409 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007436/0.2609, allocations: 211.8 kB / 0.8411 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2609, allocations: 0 / 0.8411 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.2613, allocations: 123.8 kB / 0.8413 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.2617, allocations: 33.25 kB / 0.8413 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.2626, allocations: 422.3 kB / 0.8417 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.2629, allocations: 0.7353 MB / 0.8424 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.2631, allocations: 32.84 kB / 0.8424 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.2632, allocations: 23.42 kB / 0.8425 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.2632, allocations: 0 / 0.8425 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of Templates: time 0.006262/0.2695, allocations: 2.715 MB / 0.8451 GB, free: 14.2 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)