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.001614/0.001614, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001816/0.001816, allocations: 196.2 kB / 16.25 MB, free: 6.625 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.568/1.568, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.746/1.746, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.00133/0.00133, allocations: 63.92 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2662, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003901/0.2702, allocations: 1.971 MB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004747/0.2749, allocations: 3.406 MB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.2752, allocations: 0 / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.2756, allocations: 43.73 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006575/0.2763, allocations: 123.4 kB / 0.7883 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.2765, allocations: 27.97 kB / 0.7883 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.2768, allocations: 171.2 kB / 0.7885 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.2769, allocations: 29.67 kB / 0.7885 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.2771, allocations: 87.62 kB / 0.7886 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.2773, allocations: 87.59 kB / 0.7887 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.2773, allocations: 8 kB / 0.7887 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.2775, allocations: 31.92 kB / 0.7887 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.2775, allocations: 35.84 kB / 0.7887 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.2776, allocations: 75.55 kB / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.2779, allocations: 171.3 kB / 0.789 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2779, allocations: 3.984 kB / 0.789 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2779, allocations: 0 / 0.789 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.278, allocations: 0 / 0.789 GB, free: 7.617 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.0009809/0.2789, allocations: 0.5099 MB / 0.7895 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.279, allocations: 12.03 kB / 0.7895 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.2791, allocations: 24.75 kB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.2794, allocations: 242.9 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2794, allocations: 384 / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.2795, allocations: 8.375 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.2798, allocations: 141.6 kB / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2798, allocations: 0 / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2799, allocations: 8 kB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.2799, allocations: 11.98 kB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.2803, allocations: 139.9 kB / 0.79 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007413/0.2811, allocations: 460.4 kB / 0.7905 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.2815, allocations: 173.9 kB / 0.7906 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.2817, allocations: 108.8 kB / 0.7907 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.2818, allocations: 4 kB / 0.7907 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.2818, allocations: 30.56 kB / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.2818, allocations: 0 / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008119/0.2826, allocations: 297.7 kB / 0.791 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.2827, allocations: 51.41 kB / 0.7911 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.2829, allocations: 213 kB / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.2829, allocations: 25.7 kB / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.283, allocations: 132 kB / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.2831, allocations: 43.44 kB / 0.7915 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.2831, allocations: 33.7 kB / 0.7915 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2833, allocations: 330.8 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.2835, allocations: 75.92 kB / 0.7919 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.2837, allocations: 75.88 kB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.2841, allocations: 164.8 kB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2841, allocations: 0 / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005053/0.2846, allocations: 228.5 kB / 0.7924 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2847, allocations: 4 kB / 0.7924 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2847, allocations: 0 / 0.7924 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2847, allocations: 7.984 kB / 0.7924 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.285, allocations: 31.97 kB / 0.7924 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.285, allocations: 0 / 0.7924 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.2851, allocations: 15.92 kB / 0.7924 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.2852, allocations: 15.98 kB / 0.7924 GB, free: 3.844 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.0001198/0.2853, allocations: 130.7 kB / 0.7926 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.2854, allocations: 19.72 kB / 0.7926 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.2854, allocations: 29.77 kB / 0.7926 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2854, allocations: 4 kB / 0.7926 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.2854, allocations: 0 / 0.7926 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2854, allocations: 3.938 kB / 0.7926 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.2857, allocations: 265.5 kB / 0.7929 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2858, allocations: 3.984 kB / 0.7929 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.286, allocations: 35.97 kB / 0.7929 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.286, allocations: 0 / 0.7929 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.286, allocations: 0 / 0.7929 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.286, allocations: 4 kB / 0.7929 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.286, allocations: 0 / 0.7929 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.2866, allocations: 335 kB / 0.7932 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.2867, allocations: 104.8 kB / 0.7933 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.2867, allocations: 11.98 kB / 0.7933 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.2869, allocations: 11.98 kB / 0.7933 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.287, allocations: 15.98 kB / 0.7934 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.287, allocations: 0 / 0.7934 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001344/0.2871, allocations: 164.5 kB / 0.7935 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2871, allocations: 0 / 0.7935 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002683/0.2874, allocations: 39.94 kB / 0.7936 GB, free: 2.594 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.0001592/0.2876, allocations: 103.2 kB / 0.7937 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005058/0.2881, allocations: 191.8 kB / 0.7938 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2881, allocations: 3.938 kB / 0.7938 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.2883, allocations: 95.86 kB / 0.7939 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.2888, allocations: 32.34 kB / 0.794 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/0.2896, allocations: 488.5 kB / 0.7944 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.2899, allocations: 0.7275 MB / 0.7951 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.2901, allocations: 48.61 kB / 0.7952 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.2901, allocations: 19.42 kB / 0.7952 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2901, allocations: 0 / 0.7952 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of Templates: time 0.004295/0.2944, allocations: 1.725 MB / 0.7969 GB, free: 15.14 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)