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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001017/0.001017, allocations: 104 kB / 16.27 MB, free: 6.41 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.001157/0.001157, allocations: 186.3 kB / 17.2 MB, free: 5.953 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.233/1.233, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6945/0.6945, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 67.89 kB / 0.4913 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2834, allocations: 77.91 MB / 0.5673 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002158/0.2856, allocations: 1.424 MB / 0.5687 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.2889, allocations: 2.853 MB / 0.5715 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.2889, allocations: 0 / 0.5715 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.289, allocations: 5.578 kB / 0.5715 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.289, allocations: 16.12 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.292, allocations: 1.554 MB / 0.573 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.526e-05/0.292, allocations: 40.62 kB / 0.5731 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.186e-05/0.2921, allocations: 7.141 kB / 0.5731 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.063e-05/0.2921, allocations: 12.89 kB / 0.5731 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.241e-05/0.2921, allocations: 13.84 kB / 0.5731 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.2921, allocations: 2.438 kB / 0.5731 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.2939, allocations: 1.429 MB / 0.5745 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.2939, allocations: 6.359 kB / 0.5745 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.294, allocations: 20.48 kB / 0.5745 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.2953, allocations: 1.075 MB / 0.5756 GB, free: 28.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2953, allocations: 2.156 kB / 0.5756 GB, free: 28.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2953, allocations: 1.188 kB / 0.5756 GB, free: 28.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2953, allocations: 0 / 0.5756 GB, free: 28.34 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.0004247/0.2957, allocations: 0.5177 MB / 0.5761 GB, free: 27.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2958, allocations: 10.31 kB / 0.5761 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.176e-05/0.2958, allocations: 114.6 kB / 0.5762 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.2958, allocations: 83.34 kB / 0.5763 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.716e-05/0.2959, allocations: 257.8 kB / 0.5765 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.2959, allocations: 151.7 kB / 0.5767 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.296, allocations: 152.2 kB / 0.5768 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.187e-05/0.296, allocations: 110.2 kB / 0.5769 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.296, allocations: 75.28 kB / 0.577 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.296, allocations: 151.3 kB / 0.5772 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.2961, allocations: 150.6 kB / 0.5773 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.2961, allocations: 157.3 kB / 0.5775 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.2963, allocations: 460.5 kB / 0.5779 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.573e-05/0.2963, allocations: 173.4 kB / 0.5781 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.285e-05/0.2963, allocations: 81.08 kB / 0.5781 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.2963, allocations: 84.36 kB / 0.5782 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2964, allocations: 113.3 kB / 0.5783 GB, free: 25.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2964, allocations: 0 / 0.5783 GB, free: 25.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.635e-05/0.2964, allocations: 33.8 kB / 0.5784 GB, free: 25.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.2965, allocations: 127.7 kB / 0.5785 GB, free: 25.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.538e-05/0.2966, allocations: 135 kB / 0.5786 GB, free: 25.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.2966, allocations: 25.7 kB / 0.5786 GB, free: 25.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.2966, allocations: 90.52 kB / 0.5787 GB, free: 25.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.2966, allocations: 0 / 0.5787 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.2966, allocations: 19.81 kB / 0.5787 GB, free: 25.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.785e-05/0.2967, allocations: 318.9 kB / 0.579 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.2967, allocations: 7.406 kB / 0.579 GB, free: 24.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.2967, allocations: 4.234 kB / 0.579 GB, free: 24.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.2968, allocations: 15.55 kB / 0.5791 GB, free: 24.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2968, allocations: 1.031 kB / 0.5791 GB, free: 24.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.708e-05/0.2969, allocations: 55.16 kB / 0.5791 GB, free: 24.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2969, allocations: 5.25 kB / 0.5791 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.2969, allocations: 2.781 kB / 0.5791 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2969, allocations: 4 kB / 0.5791 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-06/0.2969, allocations: 3.469 kB / 0.5791 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2969, allocations: 0 / 0.5791 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.297, allocations: 1.188 kB / 0.5791 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.297, allocations: 1.281 kB / 0.5791 GB, free: 24.7 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.441e-05/0.297, allocations: 188.4 kB / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.2971, allocations: 119.5 kB / 0.5794 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.2971, allocations: 109 kB / 0.5795 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.2971, allocations: 177 kB / 0.5797 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/0.2971, allocations: 186.5 kB / 0.5799 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/0.2972, allocations: 188.3 kB / 0.5801 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.2973, allocations: 416.4 kB / 0.5805 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.2973, allocations: 103.4 kB / 0.5806 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.2973, allocations: 103.3 kB / 0.5807 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.898e-05/0.2973, allocations: 182.4 kB / 0.5808 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.2974, allocations: 184.5 kB / 0.581 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.845e-05/0.2974, allocations: 182.5 kB / 0.5812 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.721e-05/0.2974, allocations: 178.4 kB / 0.5813 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.193e-05/0.2975, allocations: 310.6 kB / 0.5816 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.2975, allocations: 186 kB / 0.5818 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.2975, allocations: 182.8 kB / 0.582 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.2976, allocations: 104.3 kB / 0.5821 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.2976, allocations: 184.5 kB / 0.5823 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.2976, allocations: 101.6 kB / 0.5824 GB, free: 21.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.874e-05/0.2977, allocations: 102.8 kB / 0.5825 GB, free: 21.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2977, allocations: 1.469 kB / 0.5825 GB, free: 21.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006171/0.2983, allocations: 284 kB / 0.5827 GB, free: 21.08 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.0009363/0.2993, allocations: 1.162 MB / 0.5839 GB, free: 20.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.584e-05/0.2993, allocations: 39.81 kB / 0.5839 GB, free: 20.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2994, allocations: 0 / 0.5839 GB, free: 20.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.2994, allocations: 2.781 kB / 0.5839 GB, free: 20.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.2996, allocations: 458 kB / 0.5843 GB, free: 19.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/0.3006, allocations: 1.581 MB / 0.5859 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.53e-05/0.3007, allocations: 0.6818 MB / 0.5866 GB, free: 17.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.049e-05/0.3007, allocations: 1.031 kB / 0.5866 GB, free: 17.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.3007, allocations: 14.28 kB / 0.5866 GB, free: 17.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3007, allocations: 1.375 kB / 0.5866 GB, free: 17.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1746/0.4753, allocations: 6.878 MB / 0.5933 GB, free: 14.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/7.876, allocations: 25.33 kB / 0.5933 GB, free: 14.16 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)