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.001194/0.001194, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 196.4 kB / 16.53 MB, free: 6.391 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.484/1.484, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.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.663/1.663, allocations: 292.3 MB / 0.5488 GB, free: 13.55 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.001487/0.001487, allocations: 70.45 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2577, allocations: 114.5 MB / 0.7834 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003674/0.2614, allocations: 2.014 MB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004611/0.266, allocations: 3.695 MB / 0.7889 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.2662, allocations: 4 kB / 0.7889 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.2665, allocations: 59.56 kB / 0.789 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.2668, allocations: 107.3 kB / 0.7891 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.2672, allocations: 119.7 kB / 0.7892 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.2675, allocations: 259 kB / 0.7895 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.2677, allocations: 44.39 kB / 0.7895 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.2679, allocations: 115.5 kB / 0.7896 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.2681, allocations: 111.5 kB / 0.7897 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.2681, allocations: 19.98 kB / 0.7897 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.2683, allocations: 115.8 kB / 0.7898 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.556e-05/0.2684, allocations: 47.83 kB / 0.7899 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.2685, allocations: 103.4 kB / 0.79 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.2689, allocations: 267.1 kB / 0.7902 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2689, allocations: 7.938 kB / 0.7903 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2689, allocations: 0 / 0.7903 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2689, allocations: 0 / 0.7903 GB, free: 6.496 MB / 0.6075 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.001076/0.27, allocations: 0.584 MB / 0.7908 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.27, allocations: 12.03 kB / 0.7908 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.808e-05/0.2701, allocations: 24.56 kB / 0.7909 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.2705, allocations: 267.6 kB / 0.7911 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2705, allocations: 8.359 kB / 0.7911 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.2706, allocations: 8.375 kB / 0.7911 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.2711, allocations: 173.7 kB / 0.7913 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2711, allocations: 0 / 0.7913 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.2711, allocations: 0 / 0.7913 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2711, allocations: 4 kB / 0.7913 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/0.2718, allocations: 195.8 kB / 0.7915 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008267/0.2726, allocations: 496.3 kB / 0.792 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.2731, allocations: 126.4 kB / 0.7921 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.2734, allocations: 112.9 kB / 0.7922 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008484/0.2743, allocations: 0.5493 MB / 0.7927 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.2743, allocations: 30.56 kB / 0.7928 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.2743, allocations: 4 kB / 0.7928 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.00117/0.2755, allocations: 349.1 kB / 0.7931 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.2755, allocations: 55.34 kB / 0.7931 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.2757, allocations: 234.7 kB / 0.7934 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.2758, allocations: 29.7 kB / 0.7934 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.2759, allocations: 148 kB / 0.7935 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.2759, allocations: 39.44 kB / 0.7936 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.276, allocations: 33.58 kB / 0.7936 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2761, allocations: 334.8 kB / 0.7939 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.2764, allocations: 91.91 kB / 0.794 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.2768, allocations: 99.91 kB / 0.7941 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006423/0.2774, allocations: 196.7 kB / 0.7943 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2774, allocations: 0 / 0.7943 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007274/0.2781, allocations: 253.9 kB / 0.7945 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2782, allocations: 8 kB / 0.7945 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.2782, allocations: 0 / 0.7945 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2782, allocations: 0 / 0.7945 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.2785, allocations: 51.88 kB / 0.7946 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.2785, allocations: 3.938 kB / 0.7946 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.2787, allocations: 35.81 kB / 0.7946 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.2788, allocations: 4 kB / 0.7946 GB, free: 1.668 MB / 0.6075 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.0001051/0.2789, allocations: 125.8 kB / 0.7948 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.2789, allocations: 23.72 kB / 0.7948 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008254/0.2798, allocations: 287.2 kB / 0.7951 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2798, allocations: 4 kB / 0.7951 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2798, allocations: 3.938 kB / 0.7951 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2798, allocations: 0 / 0.7951 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.2801, allocations: 269.5 kB / 0.7953 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2801, allocations: 4 kB / 0.7953 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.2804, allocations: 43.94 kB / 0.7954 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.2804, allocations: 4 kB / 0.7954 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2804, allocations: 3.984 kB / 0.7954 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2804, allocations: 0 / 0.7954 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2804, allocations: 3.938 kB / 0.7954 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007895/0.2812, allocations: 363.1 kB / 0.7957 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.2813, allocations: 116.7 kB / 0.7958 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.2814, allocations: 0 / 0.7958 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.2816, allocations: 31.97 kB / 0.7959 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.2817, allocations: 23.84 kB / 0.7959 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.2817, allocations: 4 kB / 0.7959 GB, free: 296 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001298/0.2818, allocations: 166 kB / 0.796 GB, free: 132 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2818, allocations: 0 / 0.796 GB, free: 132 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003069/0.2821, allocations: 59.98 kB / 0.7961 GB, free: 72 kB / 0.6075 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.00021/0.2824, allocations: 131.2 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007737/0.2831, allocations: 227.7 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2832, allocations: 0 / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.2835, allocations: 115.8 kB / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.2839, allocations: 32.39 kB / 0.7966 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/0.2847, allocations: 438.3 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.285, allocations: 0.7353 MB / 0.7977 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.2852, allocations: 32.84 kB / 0.7978 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.2853, allocations: 23.42 kB / 0.7978 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2853, allocations: 0 / 0.7978 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of Templates: time 0.005575/0.2908, allocations: 2.699 MB / 0.8004 GB, free: 11.62 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)