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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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: 102.8 kB / 16.27 MB, free: 5.961 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.001055/0.001055, allocations: 189.8 kB / 17.2 MB, free: 5.59 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.262/1.262, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7034/0.7034, allocations: 122.9 MB / 413.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.89 kB / 0.4912 GB, free: 7.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2972, allocations: 77.91 MB / 0.5673 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002119/0.2993, allocations: 1.425 MB / 0.5687 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.3024, allocations: 2.89 MB / 0.5715 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.3024, allocations: 0.5312 kB / 0.5715 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.3025, allocations: 11.41 kB / 0.5716 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.3025, allocations: 11.47 kB / 0.5716 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.3052, allocations: 1.584 MB / 0.5731 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.228e-05/0.3053, allocations: 46.95 kB / 0.5732 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.2e-05/0.3053, allocations: 2.906 kB / 0.5732 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.118e-05/0.3054, allocations: 20.22 kB / 0.5732 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.302e-05/0.3054, allocations: 16.03 kB / 0.5732 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.3054, allocations: 1.438 kB / 0.5732 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.3071, allocations: 1.463 MB / 0.5746 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.3071, allocations: 5.984 kB / 0.5746 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.3072, allocations: 19.78 kB / 0.5747 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.3084, allocations: 1.116 MB / 0.5757 GB, free: 28.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3084, allocations: 1.312 kB / 0.5757 GB, free: 28.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3084, allocations: 2.281 kB / 0.5757 GB, free: 28.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.3084, allocations: 0 / 0.5757 GB, free: 28.41 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.0004006/0.3088, allocations: 0.5198 MB / 0.5763 GB, free: 27.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.3089, allocations: 8.812 kB / 0.5763 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.173e-05/0.3089, allocations: 106.9 kB / 0.5764 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.3089, allocations: 88.23 kB / 0.5764 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.274e-05/0.309, allocations: 250.4 kB / 0.5767 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.309, allocations: 151.6 kB / 0.5768 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.3091, allocations: 157.4 kB / 0.577 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.456e-05/0.3091, allocations: 109 kB / 0.5771 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3091, allocations: 75.28 kB / 0.5772 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.3091, allocations: 151.1 kB / 0.5773 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.3092, allocations: 156.2 kB / 0.5775 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.3092, allocations: 151.9 kB / 0.5776 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.3093, allocations: 463.3 kB / 0.578 GB, free: 26.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.493e-05/0.3094, allocations: 171.3 kB / 0.5782 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.314e-05/0.3094, allocations: 81.53 kB / 0.5783 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3094, allocations: 81.62 kB / 0.5784 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.3094, allocations: 107 kB / 0.5785 GB, free: 25.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3094, allocations: 0.875 kB / 0.5785 GB, free: 25.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.323e-05/0.3095, allocations: 37 kB / 0.5785 GB, free: 25.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.3095, allocations: 137.5 kB / 0.5786 GB, free: 25.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.3096, allocations: 130.5 kB / 0.5788 GB, free: 25.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.98e-06/0.3096, allocations: 25.7 kB / 0.5788 GB, free: 25.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.3097, allocations: 93.27 kB / 0.5789 GB, free: 25.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.3097, allocations: 0 / 0.5789 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.3097, allocations: 20.2 kB / 0.5789 GB, free: 25.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.335e-05/0.3097, allocations: 318 kB / 0.5792 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.3098, allocations: 4.266 kB / 0.5792 GB, free: 24.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/0.3098, allocations: 7.781 kB / 0.5792 GB, free: 24.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.3098, allocations: 19.84 kB / 0.5792 GB, free: 24.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3098, allocations: 0 / 0.5792 GB, free: 24.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.934e-05/0.3099, allocations: 59.38 kB / 0.5793 GB, free: 24.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.3099, allocations: 5.594 kB / 0.5793 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.31, allocations: 6.406 kB / 0.5793 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.31, allocations: 3.953 kB / 0.5793 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.31, allocations: 0 / 0.5793 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.31, allocations: 0 / 0.5793 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.31, allocations: 6.156 kB / 0.5793 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.31, allocations: 4 kB / 0.5793 GB, free: 24.77 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.121e-05/0.3101, allocations: 183.5 kB / 0.5795 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.3101, allocations: 112.1 kB / 0.5796 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.3101, allocations: 122.4 kB / 0.5797 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.3101, allocations: 181 kB / 0.5799 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/0.3102, allocations: 183.2 kB / 0.58 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.3102, allocations: 182 kB / 0.5802 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.3103, allocations: 414.9 kB / 0.5806 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.3103, allocations: 111.2 kB / 0.5807 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-06/0.3103, allocations: 103.3 kB / 0.5808 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/0.3104, allocations: 178.4 kB / 0.581 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.3104, allocations: 182.4 kB / 0.5812 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.57e-05/0.3104, allocations: 178.5 kB / 0.5813 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.716e-05/0.3104, allocations: 183.9 kB / 0.5815 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.953e-05/0.3105, allocations: 316.7 kB / 0.5818 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.3105, allocations: 182.5 kB / 0.582 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.3105, allocations: 177 kB / 0.5822 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.3106, allocations: 108.1 kB / 0.5823 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.3106, allocations: 188.9 kB / 0.5824 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.3106, allocations: 105.6 kB / 0.5825 GB, free: 21.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.559e-05/0.3107, allocations: 100.9 kB / 0.5826 GB, free: 21.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3107, allocations: 0 / 0.5826 GB, free: 21.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005398/0.3112, allocations: 287.9 kB / 0.5829 GB, free: 21.14 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.0009003/0.3121, allocations: 1.174 MB / 0.5841 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.076e-05/0.3122, allocations: 39.7 kB / 0.5841 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3122, allocations: 2.156 kB / 0.5841 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.3122, allocations: 4.641 kB / 0.5841 GB, free: 20.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.3125, allocations: 473.2 kB / 0.5845 GB, free: 19.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008782/0.3134, allocations: 1.592 MB / 0.5861 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.019e-05/0.3135, allocations: 0.6842 MB / 0.5868 GB, free: 17.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.106e-05/0.3135, allocations: 9.859 kB / 0.5868 GB, free: 17.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.3135, allocations: 14.3 kB / 0.5868 GB, free: 17.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3135, allocations: 0 / 0.5868 GB, free: 17.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09574/0.4093, allocations: 7.082 MB / 0.5937 GB, free: 14.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/7.785, allocations: 29.45 kB / 0.5937 GB, free: 14.08 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)