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.001114/0.001114, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001324/0.001324, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.544/1.544, allocations: 251.9 MB / 0.51 GB, free: 4.863 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.0005497/0.0005499, allocations: 16 kB / 0.6241 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5736/0.5741, allocations: 106.3 MB / 0.728 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002249/0.5764, allocations: 1.635 MB / 0.7296 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003892/0.5804, allocations: 3.254 MB / 0.7327 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.5805, allocations: 3.938 kB / 0.7327 GB, free: 6.477 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.5807, allocations: 43.8 kB / 0.7328 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.581, allocations: 115.6 kB / 0.7329 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.5814, allocations: 95.75 kB / 0.733 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.5817, allocations: 167.6 kB / 0.7331 GB, free: 6.062 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.5818, allocations: 40.5 kB / 0.7332 GB, free: 6.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.582, allocations: 95.66 kB / 0.7333 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.5822, allocations: 103.5 kB / 0.7334 GB, free: 5.824 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.5822, allocations: 11.94 kB / 0.7334 GB, free: 5.812 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.5824, allocations: 95.91 kB / 0.7335 GB, free: 5.719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.5825, allocations: 39.83 kB / 0.7335 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.5826, allocations: 57.58 kB / 0.7336 GB, free: 5.617 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.5828, allocations: 187.5 kB / 0.7338 GB, free: 5.434 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5828, allocations: 0 / 0.7338 GB, free: 5.434 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.547e-06/0.5828, allocations: 0 / 0.7338 GB, free: 5.434 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.5828, allocations: 3.938 kB / 0.7338 GB, free: 5.43 MB / 0.545 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.001164/0.584, allocations: 0.5725 MB / 0.7343 GB, free: 4.809 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.584, allocations: 8.031 kB / 0.7343 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.5841, allocations: 27.62 kB / 0.7343 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.5846, allocations: 254.5 kB / 0.7346 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.5846, allocations: 12 kB / 0.7346 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.5846, allocations: 12 kB / 0.7346 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.5851, allocations: 192.2 kB / 0.7348 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.5851, allocations: 0 / 0.7348 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.5852, allocations: 4 kB / 0.7348 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5852, allocations: 4 kB / 0.7348 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.5859, allocations: 235.8 kB / 0.735 GB, free: 4.031 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/0.5867, allocations: 496.3 kB / 0.7355 GB, free: 3.496 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.5872, allocations: 154.6 kB / 0.7357 GB, free: 3.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009037/0.5881, allocations: 0.5766 MB / 0.7362 GB, free: 2.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.5881, allocations: 38.72 kB / 0.7363 GB, free: 2.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.5881, allocations: 3.938 kB / 0.7363 GB, free: 2.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001224/0.5894, allocations: 405.2 kB / 0.7366 GB, free: 2.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.5894, allocations: 51.41 kB / 0.7367 GB, free: 2.133 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.5896, allocations: 238.7 kB / 0.7369 GB, free: 1.895 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.5897, allocations: 29.7 kB / 0.7369 GB, free: 1.859 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/0.5898, allocations: 132 kB / 0.7371 GB, free: 1.727 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.5898, allocations: 39.45 kB / 0.7371 GB, free: 1.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.5899, allocations: 0 / 0.7371 GB, free: 1.688 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.59, allocations: 334.8 kB / 0.7374 GB, free: 1.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.5903, allocations: 115.9 kB / 0.7375 GB, free: 1.238 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.5907, allocations: 119.8 kB / 0.7377 GB, free: 1.121 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.591, allocations: 115.9 kB / 0.7378 GB, free: 1.008 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.591, allocations: 3.938 kB / 0.7378 GB, free: 1.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007835/0.5918, allocations: 305.8 kB / 0.7381 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5919, allocations: 4 kB / 0.7381 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5919, allocations: 4 kB / 0.7381 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.5919, allocations: 0 / 0.7381 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.5922, allocations: 55.94 kB / 0.7381 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.5922, allocations: 8 kB / 0.7381 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.5925, allocations: 39.84 kB / 0.7382 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.5925, allocations: 7.922 kB / 0.7382 GB, free: 0.582 MB / 0.545 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.0001129/0.5926, allocations: 125.8 kB / 0.7383 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.5927, allocations: 31.67 kB / 0.7383 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008597/0.5935, allocations: 327.2 kB / 0.7386 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5935, allocations: 0 / 0.7386 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5936, allocations: 0 / 0.7386 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5936, allocations: 0 / 0.7386 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.5939, allocations: 277.4 kB / 0.7389 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5939, allocations: 0 / 0.7389 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.5942, allocations: 63.88 kB / 0.739 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5942, allocations: 0 / 0.739 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.5942, allocations: 3.953 kB / 0.739 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5942, allocations: 4 kB / 0.739 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5942, allocations: 3.938 kB / 0.739 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.595, allocations: 399.1 kB / 0.7394 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.5951, allocations: 112.8 kB / 0.7395 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.5952, allocations: 0 / 0.7395 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.5955, allocations: 39.91 kB / 0.7395 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.5955, allocations: 11.98 kB / 0.7395 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.5956, allocations: 11.98 kB / 0.7395 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001307/0.5957, allocations: 166 kB / 0.7397 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5957, allocations: 0 / 0.7397 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003172/0.596, allocations: 63.89 kB / 0.7397 GB, free: 14.88 MB / 0.5606 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.0002147/0.5962, allocations: 135.1 kB / 0.7399 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007619/0.597, allocations: 251.8 kB / 0.7401 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.597, allocations: 0 / 0.7401 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.5974, allocations: 143.8 kB / 0.7402 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.5978, allocations: 26.61 kB / 0.7403 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.5986, allocations: 496.1 kB / 0.7407 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.5989, allocations: 0.7473 MB / 0.7415 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.5991, allocations: 44.83 kB / 0.7415 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.5992, allocations: 19.42 kB / 0.7415 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of SimCode: time 4.5e-07/0.5992, allocations: 0 / 0.7415 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.006091/0.6053, allocations: 2.303 MB / 0.7438 GB, free: 10.71 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: