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.001099/0.001099, allocations: 98.94 kB / 16.26 MB, free: 5.93 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.001176/0.001176, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.229/1.229, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.705/0.705, allocations: 122.8 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 55.91 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3478, allocations: 77.92 MB / 0.5673 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00421/0.3521, allocations: 3.012 MB / 0.5703 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.3543, allocations: 2.138 MB / 0.5724 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.3545, allocations: 10.09 kB / 0.5724 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.3558, allocations: 0.4953 MB / 0.5728 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.356, allocations: 148.4 kB / 0.573 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.3561, allocations: 59.61 kB / 0.573 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.3565, allocations: 441.7 kB / 0.5735 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.3567, allocations: 163.1 kB / 0.5736 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.3569, allocations: 152 kB / 0.5738 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.3571, allocations: 188.7 kB / 0.5739 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.3571, allocations: 33.25 kB / 0.574 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.307e-05/0.3572, allocations: 36.44 kB / 0.574 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.3573, allocations: 94.28 kB / 0.5741 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.3575, allocations: 219.5 kB / 0.5743 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.358, allocations: 0.5394 MB / 0.5748 GB, free: 27.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.358, allocations: 1.125 kB / 0.5748 GB, free: 27.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.358, allocations: 0 / 0.5748 GB, free: 27.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.358, allocations: 1.062 kB / 0.5748 GB, free: 27.96 MB / 446.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.0008791/0.3589, allocations: 0.7042 MB / 0.5755 GB, free: 27.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.359, allocations: 15.47 kB / 0.5755 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.359, allocations: 58.3 kB / 0.5756 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.3591, allocations: 50.22 kB / 0.5756 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.3595, allocations: 381 kB / 0.576 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.3595, allocations: 14.72 kB / 0.576 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.3595, allocations: 23.41 kB / 0.576 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.3599, allocations: 207.1 kB / 0.5762 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3599, allocations: 2.609 kB / 0.5762 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.36, allocations: 6.531 kB / 0.5763 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.36, allocations: 5.125 kB / 0.5763 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.3603, allocations: 165.9 kB / 0.5764 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.3614, allocations: 0.8652 MB / 0.5773 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.3617, allocations: 155.7 kB / 0.5774 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.3619, allocations: 110.1 kB / 0.5775 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3619, allocations: 5.859 kB / 0.5775 GB, free: 26.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.3619, allocations: 37.19 kB / 0.5776 GB, free: 26.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.655e-06/0.362, allocations: 1.375 kB / 0.5776 GB, free: 26.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005543/0.3625, allocations: 257.9 kB / 0.5778 GB, free: 25.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.3625, allocations: 54.62 kB / 0.5779 GB, free: 25.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.363, allocations: 419.1 kB / 0.5783 GB, free: 25.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.363, allocations: 27.17 kB / 0.5783 GB, free: 25.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3631, allocations: 207.4 kB / 0.5785 GB, free: 25.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.3632, allocations: 59.55 kB / 0.5785 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.3632, allocations: 36.44 kB / 0.5786 GB, free: 25.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.3633, allocations: 344.4 kB / 0.5789 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3634, allocations: 57.11 kB / 0.579 GB, free: 25.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.3636, allocations: 59.06 kB / 0.579 GB, free: 25.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.3639, allocations: 143.5 kB / 0.5791 GB, free: 24.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3639, allocations: 0 / 0.5791 GB, free: 24.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003589/0.3642, allocations: 202.8 kB / 0.5793 GB, free: 24.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3643, allocations: 7.969 kB / 0.5793 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3643, allocations: 4.594 kB / 0.5794 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3643, allocations: 1.312 kB / 0.5794 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.3645, allocations: 59.53 kB / 0.5794 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3645, allocations: 1.375 kB / 0.5794 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.3647, allocations: 21.83 kB / 0.5794 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3647, allocations: 4.125 kB / 0.5794 GB, free: 24.86 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.3648, allocations: 161.5 kB / 0.5796 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.3649, allocations: 36.56 kB / 0.5796 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.089e-05/0.3649, allocations: 44.44 kB / 0.5797 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3649, allocations: 2.75 kB / 0.5797 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3649, allocations: 2.844 kB / 0.5797 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3649, allocations: 6.016 kB / 0.5797 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.3653, allocations: 382.3 kB / 0.58 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3653, allocations: 0 / 0.58 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.3655, allocations: 56.22 kB / 0.5801 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3656, allocations: 1.875 kB / 0.5801 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3656, allocations: 9.969 kB / 0.5801 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3656, allocations: 1.375 kB / 0.5801 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.3656, allocations: 4 kB / 0.5801 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.3661, allocations: 376.7 kB / 0.5805 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.3662, allocations: 112.2 kB / 0.5806 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.3662, allocations: 9.984 kB / 0.5806 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.3664, allocations: 10.08 kB / 0.5806 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.3664, allocations: 16.36 kB / 0.5806 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.3664, allocations: 4.703 kB / 0.5806 GB, free: 24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002792/0.3667, allocations: 303.5 kB / 0.5809 GB, free: 23.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3667, allocations: 0 / 0.5809 GB, free: 23.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.367, allocations: 76.16 kB / 0.581 GB, free: 23.84 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 (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.0006915/0.3677, allocations: 0.9161 MB / 0.5819 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.3681, allocations: 151.1 kB / 0.582 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3681, allocations: 0 / 0.582 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.3683, allocations: 83.47 kB / 0.5821 GB, free: 23.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.3688, allocations: 95.73 kB / 0.5822 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.3727, allocations: 3.552 MB / 0.5857 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.3729, allocations: 0.8007 MB / 0.5864 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.3731, allocations: 45.66 kB / 0.5865 GB, free: 19.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.3732, allocations: 112 kB / 0.5866 GB, free: 19.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3732, allocations: 1.375 kB / 0.5866 GB, free: 19.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.4016, allocations: 7.82 MB / 0.5942 GB, free: 15.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.413/7.815, allocations: 16.11 kB / 0.5942 GB, free: 15.06 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/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)