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.001459/0.001458, allocations: 109.4 kB / 15.69 MB, free: 128 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.001953/0.001953, allocations: 188.9 kB / 16.62 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.791/1.791, allocations: 292.3 MB / 0.5489 GB, free: 12.77 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.002572/0.002572, allocations: 74.77 kB / 0.6723 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2617, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002966/0.2647, allocations: 1.92 MB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003636/0.2683, allocations: 3.449 MB / 0.7894 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.2684, allocations: 4 kB / 0.7894 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.2687, allocations: 59.62 kB / 0.7894 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.2692, allocations: 123.3 kB / 0.7895 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.784e-05/0.2692, allocations: 27.95 kB / 0.7896 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.2695, allocations: 175.2 kB / 0.7897 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2696, allocations: 29.67 kB / 0.7898 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.2698, allocations: 91.56 kB / 0.7898 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.2699, allocations: 75.62 kB / 0.7899 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.27, allocations: 8 kB / 0.7899 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.575e-05/0.2701, allocations: 39.91 kB / 0.79 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.2701, allocations: 39.83 kB / 0.79 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.292e-05/0.2702, allocations: 75.55 kB / 0.7901 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.2704, allocations: 175.2 kB / 0.7902 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2704, allocations: 0 / 0.7902 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2704, allocations: 0 / 0.7902 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2704, allocations: 0 / 0.7902 GB, free: 6.441 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.0008192/0.2713, allocations: 0.51 MB / 0.7907 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.2713, allocations: 8.031 kB / 0.7907 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.2714, allocations: 16.75 kB / 0.7908 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.2717, allocations: 242.9 kB / 0.791 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2717, allocations: 4.375 kB / 0.791 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.2717, allocations: 4.375 kB / 0.791 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.272, allocations: 153.6 kB / 0.7912 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2721, allocations: 0 / 0.7912 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2721, allocations: 0 / 0.7912 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.2721, allocations: 19.92 kB / 0.7912 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.2725, allocations: 135.9 kB / 0.7913 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.2732, allocations: 456.5 kB / 0.7917 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.2736, allocations: 170.4 kB / 0.7919 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.2739, allocations: 115.9 kB / 0.792 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2739, allocations: 3.938 kB / 0.792 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.274, allocations: 34.56 kB / 0.792 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.274, allocations: 0 / 0.792 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008287/0.2748, allocations: 289.7 kB / 0.7923 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.2749, allocations: 59.34 kB / 0.7924 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.2751, allocations: 209 kB / 0.7926 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.2751, allocations: 29.7 kB / 0.7926 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.2752, allocations: 132 kB / 0.7927 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.2752, allocations: 43.45 kB / 0.7928 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.2753, allocations: 25.7 kB / 0.7928 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2755, allocations: 330.8 kB / 0.7931 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.2757, allocations: 75.94 kB / 0.7932 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.2759, allocations: 83.92 kB / 0.7933 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.2764, allocations: 156.8 kB / 0.7934 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2764, allocations: 0 / 0.7934 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005446/0.2769, allocations: 224.6 kB / 0.7936 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2769, allocations: 8 kB / 0.7936 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.277, allocations: 0 / 0.7936 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.277, allocations: 3.984 kB / 0.7936 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.2772, allocations: 35.95 kB / 0.7937 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2772, allocations: 0 / 0.7937 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.2774, allocations: 23.92 kB / 0.7937 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.2774, allocations: 4 kB / 0.7937 GB, free: 2.68 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.0001246/0.2776, allocations: 130.4 kB / 0.7938 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.2776, allocations: 19.72 kB / 0.7938 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.719e-05/0.2777, allocations: 33.83 kB / 0.7939 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2777, allocations: 0 / 0.7939 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2777, allocations: 3.938 kB / 0.7939 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2777, allocations: 0 / 0.7939 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.2781, allocations: 265.5 kB / 0.7941 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2781, allocations: 4 kB / 0.7941 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.2783, allocations: 35.95 kB / 0.7942 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2783, allocations: 0 / 0.7942 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.2783, allocations: 8 kB / 0.7942 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2783, allocations: 0 / 0.7942 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2783, allocations: 0 / 0.7942 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.2789, allocations: 330.9 kB / 0.7945 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.279, allocations: 116.8 kB / 0.7946 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.2791, allocations: 0 / 0.7946 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.2792, allocations: 15.97 kB / 0.7946 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.2793, allocations: 11.98 kB / 0.7946 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.2793, allocations: 4 kB / 0.7946 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001184/0.2794, allocations: 164.5 kB / 0.7948 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2795, allocations: 0 / 0.7948 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000284/0.2797, allocations: 35.94 kB / 0.7948 GB, free: 1.43 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.0001485/0.2799, allocations: 103.2 kB / 0.7949 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005204/0.2804, allocations: 183.8 kB / 0.7951 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2804, allocations: 0 / 0.7951 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.2807, allocations: 95.86 kB / 0.7952 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.2811, allocations: 30.91 kB / 0.7952 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00086/0.282, allocations: 433.3 kB / 0.7956 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.2823, allocations: 0.7275 MB / 0.7963 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001637/0.2825, allocations: 52.58 kB / 0.7964 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.2825, allocations: 19.42 kB / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.2825, allocations: 0 / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of Templates: time 0.004631/0.2872, allocations: 1.815 MB / 0.7982 GB, free: 13.95 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)