Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 288.2 MB / 303.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 185 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 0.6305 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009509/0.0009505, allocations: 107.7 kB / 0.7439 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004263, allocations: 16.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2536, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002083/0.2558, allocations: 1.551 MB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002934/0.2587, allocations: 3.031 MB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.364e-05/0.2588, allocations: 0 / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.2591, allocations: 47.72 kB / 0.984 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.2595, allocations: 123.6 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.105e-05/0.2596, allocations: 23.97 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.2597, allocations: 115.7 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2598, allocations: 21.67 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.26, allocations: 79.69 kB / 0.9843 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.2602, allocations: 63.69 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.2602, allocations: 4 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.439e-05/0.2603, allocations: 27.91 kB / 0.9844 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.2603, allocations: 31.91 kB / 0.9845 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.2604, allocations: 53.58 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.2605, allocations: 111.7 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.2605, allocations: 0 / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.083e-06/0.2605, allocations: 0 / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2605, allocations: 4 kB / 0.9846 GB, free: 22.29 MB / 0.6198 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.0008135/0.2614, allocations: 0.4983 MB / 0.9851 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.2614, allocations: 8.031 kB / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.2615, allocations: 34.56 kB / 0.9852 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.2615, allocations: 19.77 kB / 0.9852 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.2618, allocations: 245.7 kB / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2618, allocations: 4 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.2619, allocations: 4 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.2622, allocations: 153.5 kB / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.2622, allocations: 0 / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.2622, allocations: 7.984 kB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.2623, allocations: 7.984 kB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.2628, allocations: 167.7 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007059/0.2635, allocations: 460.5 kB / 0.9862 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.2639, allocations: 178.5 kB / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.264, allocations: 3.984 kB / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.264, allocations: 38.56 kB / 0.9864 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.264, allocations: 0 / 0.9864 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007797/0.2648, allocations: 324 kB / 0.9867 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.2648, allocations: 51.41 kB / 0.9867 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.265, allocations: 213 kB / 0.9869 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.265, allocations: 29.7 kB / 0.987 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.2651, allocations: 124 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.2651, allocations: 47.33 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.2651, allocations: 0 / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.2652, allocations: 330.8 kB / 0.9875 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2654, allocations: 83.92 kB / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.2657, allocations: 83.94 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.2659, allocations: 83.94 kB / 0.9877 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2659, allocations: 4 kB / 0.9877 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004762/0.2664, allocations: 238.8 kB / 0.9879 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.2664, allocations: 13.88 kB / 0.9879 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2664, allocations: 0 / 0.9879 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2664, allocations: 3.953 kB / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.2667, allocations: 35.97 kB / 0.988 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.2667, allocations: 0 / 0.988 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.2669, allocations: 19.98 kB / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.2669, allocations: 11.98 kB / 0.988 GB, free: 18.6 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.78e-05/0.267, allocations: 125.8 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.2671, allocations: 23.66 kB / 0.9881 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.2671, allocations: 29.83 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2671, allocations: 3.953 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2672, allocations: 0 / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2672, allocations: 0 / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.2674, allocations: 269.5 kB / 0.9884 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2674, allocations: 4 kB / 0.9884 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.2676, allocations: 35.97 kB / 0.9885 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2676, allocations: 0 / 0.9885 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2677, allocations: 7.984 kB / 0.9885 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2677, allocations: 0 / 0.9885 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2677, allocations: 3.953 kB / 0.9885 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.2682, allocations: 331.6 kB / 0.9888 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.2683, allocations: 112.9 kB / 0.9889 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.2683, allocations: 4 kB / 0.9889 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.2685, allocations: 15.98 kB / 0.9889 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.2686, allocations: 11.98 kB / 0.9889 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.2686, allocations: 15.94 kB / 0.989 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.393e-05/0.2687, allocations: 152.5 kB / 0.9891 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2687, allocations: 0 / 0.9891 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002595/0.2689, allocations: 44 kB / 0.9891 GB, free: 17.34 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007758/0.2697, allocations: 0.8707 MB / 0.99 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004711/0.2702, allocations: 187.9 kB / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2702, allocations: 0 / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.2705, allocations: 111.8 kB / 0.9903 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.2708, allocations: 26.11 kB / 0.9903 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.2728, allocations: 1.324 MB / 0.9916 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.2729, allocations: 0.7467 MB / 0.9923 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001721/0.2731, allocations: 48.59 kB / 0.9924 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.2732, allocations: 51.41 kB / 0.9924 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2732, allocations: 0 / 0.9924 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.2886, allocations: 3.494 MB / 0.9958 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.2889, allocations: 214.9 kB / 0.996 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.055, allocations: 0 / 0.996 GB, free: 10.34 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)