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.001273/0.001274, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01137/0.01137, allocations: 170 kB / 16.26 MB, free: 6.613 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.551/1.551, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.563/1.563, allocations: 252 MB / 0.5105 GB, free: 4.648 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.0005493/0.0005494, allocations: 16 kB / 0.6249 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4958, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002302/0.4981, allocations: 1.717 MB / 0.7304 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004329/0.5025, allocations: 3.629 MB / 0.7339 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.5026, allocations: 7.938 kB / 0.734 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.5029, allocations: 39.75 kB / 0.734 GB, free: 5.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.5032, allocations: 107.3 kB / 0.7341 GB, free: 5.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.5035, allocations: 107.8 kB / 0.7342 GB, free: 5.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.5038, allocations: 239.1 kB / 0.7344 GB, free: 5.375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.504, allocations: 44.38 kB / 0.7345 GB, free: 5.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.5042, allocations: 99.61 kB / 0.7346 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.5044, allocations: 111.5 kB / 0.7347 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.5044, allocations: 8 kB / 0.7347 GB, free: 5.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.5046, allocations: 107.8 kB / 0.7348 GB, free: 5.008 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.5047, allocations: 39.77 kB / 0.7348 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.5048, allocations: 109.2 kB / 0.7349 GB, free: 4.855 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.5051, allocations: 263.1 kB / 0.7352 GB, free: 4.598 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5051, allocations: 0 / 0.7352 GB, free: 4.598 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.424e-06/0.5052, allocations: 0 / 0.7352 GB, free: 4.598 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.5052, allocations: 0 / 0.7352 GB, free: 4.598 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.001168/0.5063, allocations: 0.5764 MB / 0.7357 GB, free: 3.973 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5064, allocations: 8.031 kB / 0.7357 GB, free: 3.965 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.5065, allocations: 28.59 kB / 0.7358 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.5069, allocations: 275.5 kB / 0.736 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5069, allocations: 8.375 kB / 0.736 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.507, allocations: 8.375 kB / 0.736 GB, free: 3.613 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.5075, allocations: 189.7 kB / 0.7362 GB, free: 3.422 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5075, allocations: 4 kB / 0.7362 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.5076, allocations: 0 / 0.7362 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5076, allocations: 3.938 kB / 0.7362 GB, free: 3.414 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007368/0.5083, allocations: 239.8 kB / 0.7365 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008769/0.5092, allocations: 488.4 kB / 0.7369 GB, free: 2.652 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.5096, allocations: 154.4 kB / 0.7371 GB, free: 2.492 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.51, allocations: 132.8 kB / 0.7372 GB, free: 2.359 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009417/0.511, allocations: 0.5728 MB / 0.7378 GB, free: 1.676 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.511, allocations: 30.56 kB / 0.7378 GB, free: 1.637 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.511, allocations: 0 / 0.7378 GB, free: 1.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001286/0.5123, allocations: 421.2 kB / 0.7382 GB, free: 1.219 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.5124, allocations: 55.41 kB / 0.7382 GB, free: 1.152 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.5126, allocations: 238.7 kB / 0.7385 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.5127, allocations: 29.7 kB / 0.7385 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.5128, allocations: 144 kB / 0.7386 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.5129, allocations: 35.45 kB / 0.7387 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.5129, allocations: 21.7 kB / 0.7387 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5131, allocations: 326.8 kB / 0.739 GB, free: 352 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.5135, allocations: 119.9 kB / 0.7391 GB, free: 232 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.5138, allocations: 116.3 kB / 0.7392 GB, free: 116 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008268/0.5147, allocations: 248.8 kB / 0.7395 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5147, allocations: 0 / 0.7395 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007985/0.5155, allocations: 301.2 kB / 0.7398 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5155, allocations: 4 kB / 0.7398 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5155, allocations: 0 / 0.7398 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.5155, allocations: 0 / 0.7398 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.5159, allocations: 59.94 kB / 0.7398 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.5159, allocations: 3.938 kB / 0.7398 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.5161, allocations: 43.88 kB / 0.7399 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.5161, allocations: 7.984 kB / 0.7399 GB, free: 15.45 MB / 0.5606 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.0001237/0.5163, allocations: 125.8 kB / 0.74 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.5163, allocations: 23.72 kB / 0.74 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000911/0.5172, allocations: 335 kB / 0.7403 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.5173, allocations: 4 kB / 0.7403 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.5173, allocations: 3.938 kB / 0.7403 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5173, allocations: 0 / 0.7403 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.5176, allocations: 265.5 kB / 0.7406 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5176, allocations: 0 / 0.7406 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.5179, allocations: 59.89 kB / 0.7407 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5179, allocations: 0 / 0.7407 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.5179, allocations: 7.984 kB / 0.7407 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5179, allocations: 0 / 0.7407 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-05/0.518, allocations: 3.938 kB / 0.7407 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008871/0.5188, allocations: 403 kB / 0.741 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.519, allocations: 116.8 kB / 0.7412 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.519, allocations: 0 / 0.7412 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.5193, allocations: 39.95 kB / 0.7412 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.5194, allocations: 19.92 kB / 0.7412 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.5194, allocations: 7.984 kB / 0.7412 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001509/0.5196, allocations: 166 kB / 0.7414 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5196, allocations: 4 kB / 0.7414 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003223/0.5199, allocations: 59.94 kB / 0.7414 GB, free: 13.75 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 (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.0002484/0.5201, allocations: 127.2 kB / 0.7416 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000815/0.521, allocations: 259.7 kB / 0.7418 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.521, allocations: 0 / 0.7418 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.5214, allocations: 147.8 kB / 0.742 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.5219, allocations: 29.3 kB / 0.742 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009434/0.5228, allocations: 0.5087 MB / 0.7425 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.5232, allocations: 0.7355 MB / 0.7432 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.5234, allocations: 36.84 kB / 0.7432 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.5235, allocations: 23.42 kB / 0.7433 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5235, allocations: 0 / 0.7433 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.005529/0.529, allocations: 2.373 MB / 0.7456 GB, free: 9.477 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: