Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_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.007699/0.007699, allocations: 97.28 kB / 15.73 MB, free: 6.031 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.001857/0.001857, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9767/0.9767, allocations: 143.3 MB / 433.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 67.89 kB / 0.5954 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3346, allocations: 82.02 MB / 0.6755 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001978/0.3366, allocations: 1.413 MB / 0.6769 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00407/0.3407, allocations: 2.874 MB / 0.6797 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.3407, allocations: 5.188 kB / 0.6797 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.3408, allocations: 3.938 kB / 0.6797 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/0.3408, allocations: 12.98 kB / 0.6797 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003313/0.3442, allocations: 1.561 MB / 0.6812 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.383e-05/0.3442, allocations: 40.14 kB / 0.6813 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.3443, allocations: 7.141 kB / 0.6813 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.3443, allocations: 15.44 kB / 0.6813 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.452e-05/0.3443, allocations: 11.53 kB / 0.6813 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.3444, allocations: 5.109 kB / 0.6813 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.3464, allocations: 1.488 MB / 0.6828 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.3464, allocations: 5.312 kB / 0.6828 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.3464, allocations: 24.11 kB / 0.6828 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.3477, allocations: 1.077 MB / 0.6838 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3477, allocations: 0 / 0.6838 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3477, allocations: 0 / 0.6838 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3477, allocations: 0 / 0.6838 GB, free: 11.08 MB / 0.5137 GB 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.0005676/0.3483, allocations: 0.5257 MB / 0.6844 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3484, allocations: 11.03 kB / 0.6844 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.576e-05/0.3484, allocations: 106 kB / 0.6845 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.3485, allocations: 86.17 kB / 0.6846 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.3487, allocations: 251.2 kB / 0.6848 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.099e-05/0.3487, allocations: 160.2 kB / 0.6849 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.3488, allocations: 150.9 kB / 0.6851 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.274e-05/0.3489, allocations: 106.3 kB / 0.6852 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.3489, allocations: 75.28 kB / 0.6853 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/0.349, allocations: 150.6 kB / 0.6854 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.924e-05/0.349, allocations: 155.8 kB / 0.6856 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.832e-05/0.3491, allocations: 150.6 kB / 0.6857 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.3494, allocations: 473.2 kB / 0.6861 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.129e-05/0.3495, allocations: 170.3 kB / 0.6863 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.3495, allocations: 85.52 kB / 0.6864 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.3496, allocations: 79.22 kB / 0.6865 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.3496, allocations: 107 kB / 0.6866 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3496, allocations: 0 / 0.6866 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.878e-05/0.3497, allocations: 44.11 kB / 0.6866 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.3498, allocations: 127.9 kB / 0.6867 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3499, allocations: 135 kB / 0.6869 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.35, allocations: 27.08 kB / 0.6869 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.35, allocations: 85.52 kB / 0.687 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.35, allocations: 1.312 kB / 0.687 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.35, allocations: 17.88 kB / 0.687 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3502, allocations: 316.3 kB / 0.6873 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.3502, allocations: 6.812 kB / 0.6873 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.3502, allocations: 4.188 kB / 0.6873 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.3503, allocations: 13.08 kB / 0.6873 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3503, allocations: 0 / 0.6873 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001196/0.3504, allocations: 59.14 kB / 0.6874 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.3504, allocations: 10.22 kB / 0.6874 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3504, allocations: 2.281 kB / 0.6874 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.3505, allocations: 0 / 0.6874 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.3505, allocations: 0 / 0.6874 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.3505, allocations: 0.9062 kB / 0.6874 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.3505, allocations: 1.469 kB / 0.6874 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3505, allocations: 1.531 kB / 0.6874 GB, free: 7.367 MB / 0.5137 GB 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 0.0001038/0.3506, allocations: 191.7 kB / 0.6876 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.3507, allocations: 114.3 kB / 0.6877 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.3507, allocations: 111.2 kB / 0.6878 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.989e-05/0.3508, allocations: 181.4 kB / 0.688 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.794e-05/0.3509, allocations: 185.3 kB / 0.6881 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.998e-05/0.351, allocations: 181.5 kB / 0.6883 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.3513, allocations: 416.5 kB / 0.6887 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.397e-05/0.3513, allocations: 104.9 kB / 0.6888 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.3514, allocations: 102.6 kB / 0.6889 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.015e-05/0.3515, allocations: 188.2 kB / 0.6891 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.418e-05/0.3516, allocations: 177.4 kB / 0.6892 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001158/0.3517, allocations: 185.5 kB / 0.6894 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.944e-05/0.3518, allocations: 181.5 kB / 0.6896 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.3519, allocations: 313 kB / 0.6899 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/0.352, allocations: 183.9 kB / 0.6901 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.905e-05/0.3521, allocations: 186 kB / 0.6902 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.3522, allocations: 108.9 kB / 0.6904 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.3523, allocations: 181.6 kB / 0.6905 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.3523, allocations: 110.5 kB / 0.6906 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.002e-05/0.3524, allocations: 105.5 kB / 0.6907 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3524, allocations: 0 / 0.6907 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006429/0.3531, allocations: 277.2 kB / 0.691 GB, free: 3.68 MB / 0.5137 GB 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.001266/0.3543, allocations: 1.171 MB / 0.6921 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.534e-05/0.3544, allocations: 36.89 kB / 0.6922 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3544, allocations: 4.062 kB / 0.6922 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3544, allocations: 1.688 kB / 0.6922 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.3549, allocations: 462.7 kB / 0.6926 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3563, allocations: 1.571 MB / 0.6942 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3566, allocations: 0.6855 MB / 0.6948 GB, free: 32 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.201e-05/0.3566, allocations: 0 / 0.6948 GB, free: 32 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.3567, allocations: 20.77 kB / 0.6948 GB, free: 12 kB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.3567, allocations: 1.25 kB / 0.6948 GB, free: 12 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.682/1.039, allocations: 6.935 MB / 0.7016 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/11.23, allocations: 9 kB / 0.7016 GB, free: 11.12 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)