Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.001029/0.001029, allocations: 103.7 kB / 16.27 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.001007/0.001007, allocations: 190 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.224/1.224, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6917/0.6917, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 0.4912 GB, free: 7.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2989, allocations: 77.92 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002185/0.3011, allocations: 1.417 MB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.3043, allocations: 2.853 MB / 0.5715 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.3043, allocations: 0 / 0.5715 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.3044, allocations: 5.484 kB / 0.5715 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.3044, allocations: 13.62 kB / 0.5715 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.3074, allocations: 1.558 MB / 0.5731 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.35e-05/0.3075, allocations: 36.7 kB / 0.5731 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.054e-05/0.3075, allocations: 10.75 kB / 0.5731 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.119e-05/0.3076, allocations: 10.31 kB / 0.5731 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.244e-05/0.3076, allocations: 16.5 kB / 0.5731 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.3076, allocations: 1 kB / 0.5731 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.3094, allocations: 1.43 MB / 0.5745 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.3094, allocations: 1.922 kB / 0.5745 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.3094, allocations: 20.94 kB / 0.5745 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.3107, allocations: 1.078 MB / 0.5756 GB, free: 28.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3107, allocations: 0.5156 kB / 0.5756 GB, free: 28.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3107, allocations: 2.094 kB / 0.5756 GB, free: 28.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3107, allocations: 0.5938 kB / 0.5756 GB, free: 28.32 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004272/0.3112, allocations: 0.5235 MB / 0.5761 GB, free: 27.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3112, allocations: 9.688 kB / 0.5761 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.24e-05/0.3112, allocations: 110 kB / 0.5762 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.3113, allocations: 83.27 kB / 0.5763 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.837e-05/0.3114, allocations: 254.1 kB / 0.5765 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3114, allocations: 154.9 kB / 0.5767 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.3114, allocations: 152 kB / 0.5768 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.217e-05/0.3114, allocations: 111.5 kB / 0.5769 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3115, allocations: 76.25 kB / 0.577 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.3115, allocations: 153.1 kB / 0.5772 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.3115, allocations: 152 kB / 0.5773 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.705e-05/0.3115, allocations: 150.6 kB / 0.5775 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.3117, allocations: 471.1 kB / 0.5779 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.418e-05/0.3117, allocations: 171.2 kB / 0.5781 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.258e-05/0.3118, allocations: 81.81 kB / 0.5781 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.3118, allocations: 80.25 kB / 0.5782 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3118, allocations: 108.8 kB / 0.5783 GB, free: 25.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3118, allocations: 0.8438 kB / 0.5783 GB, free: 25.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.557e-05/0.3119, allocations: 41.31 kB / 0.5784 GB, free: 25.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.3119, allocations: 128.3 kB / 0.5785 GB, free: 25.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/0.312, allocations: 130.6 kB / 0.5786 GB, free: 25.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.312, allocations: 26.41 kB / 0.5786 GB, free: 25.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.312, allocations: 88.91 kB / 0.5787 GB, free: 25.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.312, allocations: 0.9688 kB / 0.5787 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.3121, allocations: 19.2 kB / 0.5787 GB, free: 25.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.3121, allocations: 316.1 kB / 0.579 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.3121, allocations: 7.109 kB / 0.579 GB, free: 24.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.3121, allocations: 7.359 kB / 0.5791 GB, free: 24.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.878e-05/0.3122, allocations: 15.19 kB / 0.5791 GB, free: 24.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3122, allocations: 0 / 0.5791 GB, free: 24.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.674e-05/0.3123, allocations: 53.61 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.3123, allocations: 5.031 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.3123, allocations: 2.797 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.3123, allocations: 1.062 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.3123, allocations: 0.625 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3123, allocations: 1.984 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.3124, allocations: 6.375 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3124, allocations: 1.406 kB / 0.5791 GB, free: 24.68 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 4.466e-05/0.3124, allocations: 188.4 kB / 0.5793 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.3125, allocations: 112.6 kB / 0.5794 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.3125, allocations: 112.6 kB / 0.5795 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.3125, allocations: 179.1 kB / 0.5797 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/0.3125, allocations: 188.2 kB / 0.5799 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.3126, allocations: 186 kB / 0.5801 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.3127, allocations: 415.6 kB / 0.5805 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.3127, allocations: 105.5 kB / 0.5806 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/0.3127, allocations: 103.6 kB / 0.5807 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.727e-05/0.3127, allocations: 182.2 kB / 0.5808 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.3128, allocations: 183.2 kB / 0.581 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-05/0.3128, allocations: 178.3 kB / 0.5812 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.799e-05/0.3128, allocations: 182.8 kB / 0.5813 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.87e-05/0.3129, allocations: 312.9 kB / 0.5816 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.3129, allocations: 184.8 kB / 0.5818 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.3129, allocations: 181.9 kB / 0.582 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.711e-05/0.313, allocations: 113.4 kB / 0.5821 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.313, allocations: 179.3 kB / 0.5823 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.313, allocations: 105.4 kB / 0.5824 GB, free: 21.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.912e-05/0.3131, allocations: 103.9 kB / 0.5825 GB, free: 21.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3131, allocations: 0 / 0.5825 GB, free: 21.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006271/0.3137, allocations: 278.5 kB / 0.5827 GB, free: 21.05 MB / 446.1 MB 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 (0): * Single equations (assignments): 0 * 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.000936/0.3147, allocations: 1.164 MB / 0.5839 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.441e-05/0.3148, allocations: 42.88 kB / 0.5839 GB, free: 20.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3148, allocations: 0 / 0.5839 GB, free: 20.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.3148, allocations: 2.219 kB / 0.5839 GB, free: 20.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.315, allocations: 460 kB / 0.5844 GB, free: 19.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.316, allocations: 1.573 MB / 0.5859 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.07e-05/0.316, allocations: 0.6826 MB / 0.5866 GB, free: 17.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.107e-05/0.3161, allocations: 2.75 kB / 0.5866 GB, free: 17.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.3161, allocations: 14.17 kB / 0.5866 GB, free: 17.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3161, allocations: 0 / 0.5866 GB, free: 17.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.654/0.9701, allocations: 6.876 MB / 0.5933 GB, free: 14.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/8.649, allocations: 6.953 kB / 0.5933 GB, free: 14.23 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)