Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009943, allocations: 97.05 kB / 15.68 MB, free: 488 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.001256/0.001257, allocations: 173.3 kB / 16.56 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6705/0.6705, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004051, allocations: 11.98 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 77.12 MB / 0.5568 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002975/0.1728, allocations: 2.4 MB / 0.5591 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.1754, allocations: 1.902 MB / 0.561 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.1756, allocations: 4 kB / 0.561 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.1767, allocations: 454.4 kB / 0.5614 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.177, allocations: 147.6 kB / 0.5615 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.1771, allocations: 35.97 kB / 0.5616 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.1775, allocations: 327.3 kB / 0.5619 GB, free: 6.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.1778, allocations: 107 kB / 0.562 GB, free: 6.289 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.1779, allocations: 135.4 kB / 0.5621 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1782, allocations: 151.3 kB / 0.5623 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.1782, allocations: 16 kB / 0.5623 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.769e-05/0.1782, allocations: 20 kB / 0.5623 GB, free: 5.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.29e-05/0.1783, allocations: 79.67 kB / 0.5624 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.656e-05/0.1785, allocations: 101.5 kB / 0.5625 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.1789, allocations: 442.7 kB / 0.5629 GB, free: 5.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1789, allocations: 4 kB / 0.5629 GB, free: 5.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1789, allocations: 3.938 kB / 0.5629 GB, free: 5.348 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1789, allocations: 0 / 0.5629 GB, free: 5.348 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000992/0.1799, allocations: 0.6482 MB / 0.5635 GB, free: 4.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.18, allocations: 8.031 kB / 0.5635 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.395e-05/0.18, allocations: 58.48 kB / 0.5636 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.1801, allocations: 43.44 kB / 0.5636 GB, free: 4.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.1806, allocations: 365.1 kB / 0.564 GB, free: 4.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.1806, allocations: 16.39 kB / 0.564 GB, free: 4.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.1807, allocations: 20 kB / 0.564 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.1811, allocations: 207.3 kB / 0.5642 GB, free: 3.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1811, allocations: 3.906 kB / 0.5642 GB, free: 3.895 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.1811, allocations: 8 kB / 0.5642 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.1812, allocations: 4 kB / 0.5642 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.1816, allocations: 181.6 kB / 0.5644 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.1828, allocations: 0.8663 MB / 0.5653 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.1832, allocations: 163.6 kB / 0.5654 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.1832, allocations: 4 kB / 0.5654 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1832, allocations: 34.56 kB / 0.5654 GB, free: 2.551 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.1832, allocations: 0 / 0.5654 GB, free: 2.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006167/0.1839, allocations: 263.5 kB / 0.5657 GB, free: 2.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.1839, allocations: 63.36 kB / 0.5658 GB, free: 2.215 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.1844, allocations: 413.7 kB / 0.5662 GB, free: 1.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1844, allocations: 33.64 kB / 0.5662 GB, free: 1.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1846, allocations: 204.2 kB / 0.5664 GB, free: 1.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.1847, allocations: 71 kB / 0.5664 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.1847, allocations: 0 / 0.5664 GB, free: 1.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1848, allocations: 350.8 kB / 0.5668 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.185, allocations: 67.91 kB / 0.5668 GB, free: 1.074 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1851, allocations: 55.97 kB / 0.5669 GB, free: 1.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1853, allocations: 67.92 kB / 0.567 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1853, allocations: 0 / 0.567 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003802/0.1857, allocations: 219.1 kB / 0.5672 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1857, allocations: 11.95 kB / 0.5672 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1857, allocations: 3.984 kB / 0.5672 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1857, allocations: 0 / 0.5672 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.186, allocations: 59.91 kB / 0.5672 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.186, allocations: 0 / 0.5672 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.1862, allocations: 31.73 kB / 0.5673 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1862, allocations: 8 kB / 0.5673 GB, free: 0.6211 MB / 430.1 MB 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 (20): * Single equations (assignments): 20 * 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.0001693/0.1864, allocations: 161.8 kB / 0.5674 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.1864, allocations: 31.62 kB / 0.5675 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.654e-05/0.1865, allocations: 47.55 kB / 0.5675 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1865, allocations: 4 kB / 0.5675 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1866, allocations: 0 / 0.5675 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1866, allocations: 0 / 0.5675 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.187, allocations: 377.2 kB / 0.5679 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.187, allocations: 0 / 0.5679 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.1872, allocations: 59.91 kB / 0.5679 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1873, allocations: 0 / 0.5679 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1873, allocations: 4 kB / 0.5679 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1873, allocations: 3.953 kB / 0.5679 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1873, allocations: 4 kB / 0.5679 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005919/0.1879, allocations: 397.2 kB / 0.5683 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.188, allocations: 124.6 kB / 0.5684 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.1881, allocations: 0 / 0.5684 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.1882, allocations: 23.94 kB / 0.5685 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.1883, allocations: 7.984 kB / 0.5685 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.1883, allocations: 8 kB / 0.5685 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003063/0.1886, allocations: 299.1 kB / 0.5688 GB, free: 15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1886, allocations: 4.062 kB / 0.5688 GB, free: 15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000297/0.1889, allocations: 71.84 kB / 0.5688 GB, free: 14.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0008619/0.1898, allocations: 0.9331 MB / 0.5697 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003334/0.1901, allocations: 159.9 kB / 0.5699 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1902, allocations: 3.938 kB / 0.5699 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.1903, allocations: 85.77 kB / 0.57 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.1908, allocations: 87.84 kB / 0.5701 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.1939, allocations: 2.177 MB / 0.5722 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1943, allocations: 0.8031 MB / 0.573 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.1944, allocations: 38.95 kB / 0.573 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.1946, allocations: 115.4 kB / 0.5731 GB, free: 10.44 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1946, allocations: 3.938 kB / 0.5731 GB, free: 10.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.2135, allocations: 7.134 MB / 0.5801 GB, free: 3.617 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005488/0.2141, allocations: 248.8 kB / 0.5803 GB, free: 3.375 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/2.52, allocations: 0 / 0.5803 GB, free: 3.375 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: