Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, 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.002058/0.002058, allocations: 191.9 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.631/1.631, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.799/1.799, allocations: 292.3 MB / 0.5489 GB, free: 12.9 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.001449/0.001449, allocations: 66.19 kB / 0.6715 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2665, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003543/0.2701, allocations: 1.917 MB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004043/0.2741, allocations: 3.446 MB / 0.7886 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.2743, allocations: 4 kB / 0.7886 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.2746, allocations: 47.62 kB / 0.7887 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000523/0.2752, allocations: 139.2 kB / 0.7888 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.914e-05/0.2752, allocations: 23.97 kB / 0.7888 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.2755, allocations: 175.2 kB / 0.789 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2756, allocations: 29.67 kB / 0.789 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.2758, allocations: 87.62 kB / 0.7891 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.2759, allocations: 75.62 kB / 0.7892 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.276, allocations: 12 kB / 0.7892 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.84e-05/0.2761, allocations: 35.91 kB / 0.7892 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.2762, allocations: 35.84 kB / 0.7892 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.375e-05/0.2763, allocations: 83.47 kB / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.2765, allocations: 171.4 kB / 0.7895 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2765, allocations: 0 / 0.7895 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2765, allocations: 0 / 0.7895 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2765, allocations: 3.938 kB / 0.7895 GB, free: 7.211 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008968/0.2774, allocations: 0.506 MB / 0.79 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2775, allocations: 8.031 kB / 0.79 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.2775, allocations: 16.75 kB / 0.79 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.2779, allocations: 246.9 kB / 0.7902 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2779, allocations: 4.375 kB / 0.7902 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.278, allocations: 4.375 kB / 0.7902 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.2783, allocations: 154.5 kB / 0.7904 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2783, allocations: 0 / 0.7904 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.2784, allocations: 0 / 0.7904 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.2784, allocations: 16 kB / 0.7904 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.2788, allocations: 135.9 kB / 0.7905 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.2795, allocations: 460.4 kB / 0.791 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.28, allocations: 174.4 kB / 0.7911 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.2802, allocations: 108.8 kB / 0.7912 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.2803, allocations: 0 / 0.7912 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.2803, allocations: 38.56 kB / 0.7913 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.2803, allocations: 0 / 0.7913 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008823/0.2812, allocations: 285.4 kB / 0.7916 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.2812, allocations: 55.41 kB / 0.7916 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.2814, allocations: 213 kB / 0.7918 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.2815, allocations: 33.7 kB / 0.7918 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.2816, allocations: 124 kB / 0.792 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.2816, allocations: 39.45 kB / 0.792 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.2817, allocations: 29.7 kB / 0.792 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2818, allocations: 334.8 kB / 0.7923 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.282, allocations: 71.92 kB / 0.7924 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.2822, allocations: 90.75 kB / 0.7925 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.2827, allocations: 164.7 kB / 0.7927 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2827, allocations: 0 / 0.7927 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005269/0.2832, allocations: 217.2 kB / 0.7929 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2833, allocations: 8 kB / 0.7929 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2833, allocations: 0 / 0.7929 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2833, allocations: 0 / 0.7929 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.2836, allocations: 31.97 kB / 0.7929 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2836, allocations: 0 / 0.7929 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.2838, allocations: 19.92 kB / 0.7929 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.2838, allocations: 7.984 kB / 0.7929 GB, free: 3.457 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 (13): * Single equations (assignments): 13 * 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.0001279/0.2839, allocations: 130.7 kB / 0.7931 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.284, allocations: 23.66 kB / 0.7931 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.864e-05/0.2841, allocations: 29.83 kB / 0.7931 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2841, allocations: 0 / 0.7931 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2841, allocations: 3.938 kB / 0.7931 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2841, allocations: 0 / 0.7931 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.2844, allocations: 269.5 kB / 0.7934 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2844, allocations: 0 / 0.7934 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.2847, allocations: 39.97 kB / 0.7934 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2847, allocations: 4 kB / 0.7934 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.2847, allocations: 4 kB / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2847, allocations: 3.984 kB / 0.7934 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2847, allocations: 0 / 0.7934 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/0.2854, allocations: 325.9 kB / 0.7937 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.2855, allocations: 116.8 kB / 0.7938 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.2855, allocations: 0 / 0.7938 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.2857, allocations: 11.98 kB / 0.7939 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.2858, allocations: 15.97 kB / 0.7939 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.2858, allocations: 4 kB / 0.7939 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001553/0.286, allocations: 160.5 kB / 0.794 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.11e-07/0.286, allocations: 4 kB / 0.794 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002915/0.2863, allocations: 35.94 kB / 0.7941 GB, free: 2.207 MB / 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 (13): * Single equations (assignments): 13 * 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.000217/0.2865, allocations: 107.2 kB / 0.7942 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005968/0.2871, allocations: 187.8 kB / 0.7943 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2871, allocations: 7.938 kB / 0.7944 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.2874, allocations: 95.88 kB / 0.7944 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.2879, allocations: 31.06 kB / 0.7945 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008908/0.2888, allocations: 442.5 kB / 0.7949 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.2891, allocations: 0.7236 MB / 0.7956 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.2893, allocations: 48.61 kB / 0.7956 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.2893, allocations: 19.42 kB / 0.7957 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2893, allocations: 4 kB / 0.7957 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.004974/0.2943, allocations: 1.822 MB / 0.7974 GB, free: 14.7 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)