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.721/1.721, allocations: 288.4 MB / 303.3 MB, free: 8.047 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.001039/0.001039, allocations: 181.5 kB / 372 MB, free: 10.25 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.566/1.566, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008668/0.0008668, allocations: 89.03 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004267, allocations: 11.44 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2361, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00224/0.2384, allocations: 1.578 MB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003646/0.2421, allocations: 3.237 MB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.2423, allocations: 3.938 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.2426, allocations: 43.81 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.2431, allocations: 111.4 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.46e-05/0.2432, allocations: 23.97 kB / 0.9845 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000222/0.2434, allocations: 167.2 kB / 0.9847 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.2435, allocations: 25.67 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.2437, allocations: 75.69 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.2439, allocations: 75.62 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.244, allocations: 4 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.805e-05/0.2441, allocations: 23.92 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.2441, allocations: 35.89 kB / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.2442, allocations: 53.58 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.2443, allocations: 107.7 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.2444, allocations: 4 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2444, allocations: 3.938 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.2444, allocations: 0 / 0.9851 GB, free: 21.96 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.000913/0.2453, allocations: 0.4945 MB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2454, allocations: 8.031 kB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.679e-05/0.2454, allocations: 42.55 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.2455, allocations: 19.77 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.2459, allocations: 253.6 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2459, allocations: 3.984 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.246, allocations: 4 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.2463, allocations: 145.5 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2463, allocations: 0 / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.2464, allocations: 4 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.2464, allocations: 12 kB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004335/0.2468, allocations: 159.8 kB / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007399/0.2476, allocations: 468.5 kB / 0.9866 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.248, allocations: 174.5 kB / 0.9868 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.2482, allocations: 112.8 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.2483, allocations: 4 kB / 0.9869 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.2483, allocations: 38.52 kB / 0.9869 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.2483, allocations: 3.938 kB / 0.9869 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0008186/0.2491, allocations: 315.2 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.2492, allocations: 51.41 kB / 0.9873 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.2494, allocations: 217 kB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.2494, allocations: 29.7 kB / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.2495, allocations: 120 kB / 0.9876 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.2495, allocations: 47.38 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.2495, allocations: 4 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.2496, allocations: 334.8 kB / 0.988 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.2498, allocations: 75.94 kB / 0.9881 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.25, allocations: 83.94 kB / 0.9882 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.2503, allocations: 89.19 kB / 0.9883 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2503, allocations: 4 kB / 0.9883 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00051/0.2508, allocations: 243.2 kB / 0.9885 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2508, allocations: 5.562 kB / 0.9885 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2509, allocations: 3.953 kB / 0.9885 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2509, allocations: 3.938 kB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.2512, allocations: 39.95 kB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2512, allocations: 0 / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.2514, allocations: 23.97 kB / 0.9886 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.2514, allocations: 8 kB / 0.9886 GB, free: 18.15 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 0.0001115/0.2515, allocations: 129.8 kB / 0.9887 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.2516, allocations: 23.72 kB / 0.9887 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.2516, allocations: 25.78 kB / 0.9887 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2516, allocations: 3.953 kB / 0.9887 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.2517, allocations: 3.984 kB / 0.9887 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2517, allocations: 0 / 0.9887 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.2519, allocations: 265.5 kB / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2519, allocations: 0 / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.2522, allocations: 35.97 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.2522, allocations: 4 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.2522, allocations: 3.984 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2522, allocations: 0 / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2522, allocations: 3.953 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005269/0.2527, allocations: 339.1 kB / 0.9894 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.2528, allocations: 104.9 kB / 0.9895 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.2529, allocations: 8 kB / 0.9895 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.2531, allocations: 15.98 kB / 0.9895 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.2531, allocations: 19.94 kB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.2532, allocations: 3.984 kB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001033/0.2533, allocations: 156.5 kB / 0.9897 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2533, allocations: 0 / 0.9897 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002519/0.2535, allocations: 40 kB / 0.9897 GB, free: 16.9 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.0007675/0.2543, allocations: 0.87 MB / 0.9906 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004962/0.2548, allocations: 187.9 kB / 0.9907 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2548, allocations: 0 / 0.9907 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.2551, allocations: 107.9 kB / 0.9908 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.2555, allocations: 28.41 kB / 0.9909 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.2575, allocations: 1.334 MB / 0.9922 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.2577, allocations: 0.7311 MB / 0.9929 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.2579, allocations: 40.61 kB / 0.9929 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.43e-05/0.258, allocations: 59.41 kB / 0.993 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.258, allocations: 0 / 0.993 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.2725, allocations: 3.516 MB / 0.9964 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.2728, allocations: 223.1 kB / 0.9966 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.201, allocations: 0 / 0.9966 GB, free: 9.887 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)