Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001535/0.001535, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.002204/0.002204, allocations: 195.3 kB / 17.29 MB, free: 5.516 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.34/1.34, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.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.001401/0.001401, allocations: 63.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1992, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003093/0.2023, allocations: 2.018 MB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3593/0.5617, allocations: 3.682 MB / 0.7903 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.5618, allocations: 0 / 0.7903 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.5621, allocations: 67.16 kB / 0.7904 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.5624, allocations: 102 kB / 0.7905 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.5627, allocations: 122.3 kB / 0.7906 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.563, allocations: 257 kB / 0.7909 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.5631, allocations: 53 kB / 0.7909 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.5633, allocations: 113.3 kB / 0.791 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.5635, allocations: 112.2 kB / 0.7911 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.5635, allocations: 16.84 kB / 0.7911 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.5637, allocations: 120.6 kB / 0.7913 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.5638, allocations: 50.77 kB / 0.7913 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.834e-05/0.5639, allocations: 93.67 kB / 0.7914 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.5642, allocations: 285.6 kB / 0.7917 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5642, allocations: 2.031 kB / 0.7917 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5642, allocations: 0 / 0.7917 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5642, allocations: 0 / 0.7917 GB, free: 46.38 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.001001/0.5652, allocations: 0.5871 MB / 0.7922 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.5653, allocations: 10.66 kB / 0.7922 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.5653, allocations: 23.16 kB / 0.7923 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.5657, allocations: 264.6 kB / 0.7925 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.5657, allocations: 7.688 kB / 0.7925 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.5658, allocations: 7.844 kB / 0.7925 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.5662, allocations: 172.9 kB / 0.7927 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.5662, allocations: 3.234 kB / 0.7927 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.5663, allocations: 4.469 kB / 0.7927 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.5663, allocations: 2.625 kB / 0.7927 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.5669, allocations: 193.4 kB / 0.7929 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.5676, allocations: 495.3 kB / 0.7934 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.568, allocations: 128 kB / 0.7935 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.5683, allocations: 104.5 kB / 0.7936 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000738/0.569, allocations: 0.5539 MB / 0.7941 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.5691, allocations: 34.09 kB / 0.7942 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.5691, allocations: 0 / 0.7942 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001098/0.5702, allocations: 357.7 kB / 0.7945 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.5702, allocations: 54.84 kB / 0.7946 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.5704, allocations: 230.2 kB / 0.7948 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.5704, allocations: 30.39 kB / 0.7948 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.5705, allocations: 144.5 kB / 0.7949 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.5705, allocations: 39.02 kB / 0.795 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.5706, allocations: 30.98 kB / 0.795 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.5707, allocations: 336.8 kB / 0.7953 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.571, allocations: 93.39 kB / 0.7954 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.5713, allocations: 97.45 kB / 0.7955 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.5719, allocations: 194.9 kB / 0.7957 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5719, allocations: 6.625 kB / 0.7957 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006527/0.5725, allocations: 257.1 kB / 0.796 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5726, allocations: 11.17 kB / 0.796 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5726, allocations: 4 kB / 0.796 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5726, allocations: 0 / 0.796 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.5729, allocations: 41.09 kB / 0.796 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.5729, allocations: 7.375 kB / 0.796 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.5731, allocations: 25.94 kB / 0.796 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.5731, allocations: 6.297 kB / 0.796 GB, free: 43.97 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 9.958e-05/0.5732, allocations: 129.1 kB / 0.7962 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.5733, allocations: 25.61 kB / 0.7962 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007444/0.574, allocations: 280 kB / 0.7965 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.5741, allocations: 0.6875 kB / 0.7965 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5741, allocations: 3.938 kB / 0.7965 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5741, allocations: 3.938 kB / 0.7965 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.5743, allocations: 274.2 kB / 0.7967 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5743, allocations: 1.875 kB / 0.7967 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.5746, allocations: 46.14 kB / 0.7968 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5746, allocations: 4 kB / 0.7968 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.5746, allocations: 6.438 kB / 0.7968 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5746, allocations: 0 / 0.7968 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5746, allocations: 6.609 kB / 0.7968 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006635/0.5753, allocations: 356.6 kB / 0.7971 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.622e-05/0.5754, allocations: 111.4 kB / 0.7972 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.5755, allocations: 4.75 kB / 0.7972 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.5757, allocations: 31.7 kB / 0.7973 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.5758, allocations: 18.11 kB / 0.7973 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.5758, allocations: 8.672 kB / 0.7973 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001073/0.5759, allocations: 168.2 kB / 0.7975 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5759, allocations: 0 / 0.7975 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003162/0.5762, allocations: 65.75 kB / 0.7975 GB, free: 43.25 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.0001757/0.5764, allocations: 133.5 kB / 0.7976 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006843/0.5771, allocations: 210.2 kB / 0.7978 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5771, allocations: 0 / 0.7978 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.5775, allocations: 121.2 kB / 0.798 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.5779, allocations: 28.25 kB / 0.798 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.5786, allocations: 424.6 kB / 0.7984 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.5788, allocations: 0.7337 MB / 0.7991 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000139/0.5789, allocations: 37.08 kB / 0.7991 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.579, allocations: 26.95 kB / 0.7992 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.579, allocations: 0 / 0.7992 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.005917/0.5849, allocations: 2.684 MB / 0.8018 GB, free: 42.09 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)