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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001056/0.001056, allocations: 99.8 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.001102/0.001102, 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.256/1.256, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7064/0.7064, allocations: 122.8 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 0.4912 GB, free: 7.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3057, allocations: 77.93 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002359/0.3081, allocations: 1.415 MB / 0.5687 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00375/0.3119, allocations: 2.894 MB / 0.5716 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.3119, allocations: 0.9688 kB / 0.5716 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.312, allocations: 5.766 kB / 0.5716 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.312, allocations: 17.36 kB / 0.5716 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.3155, allocations: 1.581 MB / 0.5731 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.978e-05/0.3156, allocations: 47 kB / 0.5732 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.3157, allocations: 8.297 kB / 0.5732 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.3157, allocations: 13.36 kB / 0.5732 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.059e-05/0.3157, allocations: 13.72 kB / 0.5732 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.3157, allocations: 1.25 kB / 0.5732 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.3178, allocations: 1.462 MB / 0.5746 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.3178, allocations: 11.83 kB / 0.5746 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.3179, allocations: 19.89 kB / 0.5747 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.3194, allocations: 1.117 MB / 0.5758 GB, free: 28.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3194, allocations: 0 / 0.5758 GB, free: 28.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3194, allocations: 0.875 kB / 0.5758 GB, free: 28.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3195, allocations: 0 / 0.5758 GB, free: 28.24 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.0005015/0.32, allocations: 0.5168 MB / 0.5763 GB, free: 27.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.32, allocations: 10.62 kB / 0.5763 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.32, allocations: 106.8 kB / 0.5764 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.3201, allocations: 79.66 kB / 0.5764 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3202, allocations: 260.9 kB / 0.5767 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.3203, allocations: 155.5 kB / 0.5768 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.3203, allocations: 156.8 kB / 0.577 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.764e-05/0.3203, allocations: 107.1 kB / 0.5771 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3204, allocations: 77.16 kB / 0.5772 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.3204, allocations: 151.8 kB / 0.5773 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.3204, allocations: 150.6 kB / 0.5775 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.3204, allocations: 153.1 kB / 0.5776 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.3206, allocations: 466.8 kB / 0.578 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.221e-05/0.3207, allocations: 169.1 kB / 0.5782 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.3207, allocations: 81.52 kB / 0.5783 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.3207, allocations: 80.06 kB / 0.5784 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.3207, allocations: 111.8 kB / 0.5785 GB, free: 25.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3207, allocations: 3.938 kB / 0.5785 GB, free: 25.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.445e-05/0.3208, allocations: 34.09 kB / 0.5785 GB, free: 25.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.3208, allocations: 127.4 kB / 0.5786 GB, free: 25.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.321, allocations: 137.9 kB / 0.5788 GB, free: 25.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.321, allocations: 25.7 kB / 0.5788 GB, free: 25.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.321, allocations: 88.86 kB / 0.5789 GB, free: 25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.321, allocations: 1.531 kB / 0.5789 GB, free: 25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.3211, allocations: 20.77 kB / 0.5789 GB, free: 24.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.3211, allocations: 314.6 kB / 0.5792 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.3211, allocations: 13.88 kB / 0.5792 GB, free: 24.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.426e-05/0.3212, allocations: 3.266 kB / 0.5792 GB, free: 24.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.3212, allocations: 16.44 kB / 0.5792 GB, free: 24.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3212, allocations: 0 / 0.5792 GB, free: 24.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001082/0.3213, allocations: 59.25 kB / 0.5793 GB, free: 24.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.3213, allocations: 4.906 kB / 0.5793 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.3214, allocations: 4.922 kB / 0.5793 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.3214, allocations: 1.719 kB / 0.5793 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3214, allocations: 0 / 0.5793 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3214, allocations: 6.109 kB / 0.5793 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.3214, allocations: 3.938 kB / 0.5793 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3214, allocations: 1.375 kB / 0.5793 GB, free: 24.6 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 5.211e-05/0.3215, allocations: 185.8 kB / 0.5795 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.3215, allocations: 113.9 kB / 0.5796 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.3216, allocations: 119.9 kB / 0.5797 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.3216, allocations: 184.9 kB / 0.5799 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/0.3216, allocations: 186.1 kB / 0.5801 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/0.3216, allocations: 177.7 kB / 0.5802 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.3218, allocations: 417.9 kB / 0.5806 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.3218, allocations: 106.8 kB / 0.5807 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.3218, allocations: 105.4 kB / 0.5808 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.279e-05/0.3218, allocations: 182.7 kB / 0.581 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.3219, allocations: 176.9 kB / 0.5812 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.247e-05/0.3219, allocations: 182.2 kB / 0.5813 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.268e-05/0.3219, allocations: 183.9 kB / 0.5815 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.868e-05/0.322, allocations: 315.9 kB / 0.5818 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.322, allocations: 186.8 kB / 0.582 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.3221, allocations: 185.5 kB / 0.5822 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.858e-05/0.3221, allocations: 109.2 kB / 0.5823 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.3222, allocations: 178.2 kB / 0.5824 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3222, allocations: 106.8 kB / 0.5825 GB, free: 21.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.261e-05/0.3222, allocations: 103.4 kB / 0.5826 GB, free: 21.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3222, allocations: 0 / 0.5826 GB, free: 21.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006836/0.3229, allocations: 279.7 kB / 0.5829 GB, free: 20.97 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.001017/0.324, allocations: 1.179 MB / 0.5841 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.572e-05/0.3241, allocations: 44.02 kB / 0.5841 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3241, allocations: 4.5 kB / 0.5841 GB, free: 20.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.3241, allocations: 2.562 kB / 0.5841 GB, free: 20.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.3244, allocations: 459 kB / 0.5845 GB, free: 19.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3254, allocations: 1.595 MB / 0.5861 GB, free: 18.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.3255, allocations: 0.6837 MB / 0.5868 GB, free: 17.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.221e-05/0.3255, allocations: 1.531 kB / 0.5868 GB, free: 17.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.3256, allocations: 15.55 kB / 0.5868 GB, free: 17.42 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3256, allocations: 0 / 0.5868 GB, free: 17.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.3488, allocations: 7.092 MB / 0.5937 GB, free: 13.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/7.844, allocations: 9.5 kB / 0.5937 GB, free: 13.92 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)