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.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/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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_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.004807/0.004807, allocations: 102 kB / 15.73 MB, free: 5.551 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.001268/0.001268, allocations: 195.2 kB / 16.67 MB, free: 5.477 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.8972/0.8972, allocations: 143.3 MB / 433.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 68.83 kB / 0.5954 GB, free: 12.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1398, allocations: 82.03 MB / 0.6755 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002642/0.1424, allocations: 1.438 MB / 0.6769 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004401/0.1469, allocations: 2.887 MB / 0.6797 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.1469, allocations: 0 / 0.6797 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.147, allocations: 4 kB / 0.6797 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.147, allocations: 19.78 kB / 0.6797 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.1507, allocations: 1.598 MB / 0.6813 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.1508, allocations: 51.67 kB / 0.6814 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.1508, allocations: 0 / 0.6814 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.035e-05/0.1509, allocations: 15.92 kB / 0.6814 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.617e-05/0.1509, allocations: 19.92 kB / 0.6814 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1509, allocations: 4 kB / 0.6814 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.1531, allocations: 1.529 MB / 0.6829 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.1532, allocations: 7.922 kB / 0.6829 GB, free: 3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.1532, allocations: 19.88 kB / 0.6829 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.1547, allocations: 1.099 MB / 0.684 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.1547, allocations: 4 kB / 0.684 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.537e-06/0.1547, allocations: 0 / 0.684 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.1547, allocations: 3.938 kB / 0.684 GB, free: 1.871 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.0006517/0.1553, allocations: 0.5286 MB / 0.6845 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1554, allocations: 12.02 kB / 0.6845 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.454e-05/0.1555, allocations: 106 kB / 0.6846 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.1555, allocations: 84.17 kB / 0.6847 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.1557, allocations: 250.4 kB / 0.6849 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.1558, allocations: 154.9 kB / 0.6851 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.1559, allocations: 150.9 kB / 0.6852 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.478e-05/0.156, allocations: 108.9 kB / 0.6853 GB, free: 400 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.156, allocations: 75.28 kB / 0.6854 GB, free: 324 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.1561, allocations: 150.6 kB / 0.6856 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.758e-05/0.1562, allocations: 158.5 kB / 0.6857 GB, free: 12 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.1564, allocations: 154.6 kB / 0.6858 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.1567, allocations: 473.8 kB / 0.6863 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1569, allocations: 165.1 kB / 0.6865 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.1569, allocations: 84.14 kB / 0.6865 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.157, allocations: 79.22 kB / 0.6866 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.969e-05/0.157, allocations: 113.8 kB / 0.6867 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1571, allocations: 0 / 0.6867 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.64e-05/0.1571, allocations: 29.66 kB / 0.6868 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.1573, allocations: 130.7 kB / 0.6869 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1574, allocations: 129.8 kB / 0.687 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1574, allocations: 29.7 kB / 0.687 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1576, allocations: 104 kB / 0.6871 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.1576, allocations: 0 / 0.6871 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.1577, allocations: 21.7 kB / 0.6871 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000266/0.1579, allocations: 322.8 kB / 0.6875 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.158, allocations: 0 / 0.6875 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.158, allocations: 8 kB / 0.6875 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.71e-05/0.158, allocations: 16.8 kB / 0.6875 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.158, allocations: 4.031 kB / 0.6875 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001441/0.1582, allocations: 53.62 kB / 0.6875 GB, free: 14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1582, allocations: 8 kB / 0.6875 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.1582, allocations: 7.984 kB / 0.6876 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1583, allocations: 3.984 kB / 0.6876 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1583, allocations: 0 / 0.6876 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1583, allocations: 0 / 0.6876 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.1583, allocations: 3.953 kB / 0.6876 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.1583, allocations: 0 / 0.6876 GB, free: 13.97 MB / 0.5294 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.0001309/0.1584, allocations: 189.2 kB / 0.6877 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1586, allocations: 116.8 kB / 0.6878 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.228e-05/0.1586, allocations: 108.8 kB / 0.688 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001792/0.1588, allocations: 184.2 kB / 0.6881 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.557e-05/0.1589, allocations: 180.3 kB / 0.6883 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.751e-05/0.159, allocations: 176.3 kB / 0.6885 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.1593, allocations: 425.1 kB / 0.6889 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/0.1593, allocations: 105 kB / 0.689 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.1594, allocations: 104.9 kB / 0.6891 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.381e-05/0.1595, allocations: 176.3 kB / 0.6892 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-05/0.1596, allocations: 180.3 kB / 0.6894 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.517e-05/0.1596, allocations: 192.2 kB / 0.6896 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.312e-05/0.1597, allocations: 176.3 kB / 0.6898 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.1599, allocations: 307.7 kB / 0.6901 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.16, allocations: 190 kB / 0.6902 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/0.1601, allocations: 184.2 kB / 0.6904 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.1602, allocations: 105 kB / 0.6905 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.1603, allocations: 188.2 kB / 0.6907 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.1604, allocations: 101 kB / 0.6908 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.1604, allocations: 101.4 kB / 0.6909 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1604, allocations: 3.938 kB / 0.6909 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007294/0.1612, allocations: 287 kB / 0.6912 GB, free: 10.05 MB / 0.5294 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.001533/0.1627, allocations: 1.178 MB / 0.6923 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.1628, allocations: 42.06 kB / 0.6924 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1628, allocations: 7.938 kB / 0.6924 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.1628, allocations: 0 / 0.6924 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.1633, allocations: 467.6 kB / 0.6928 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.1651, allocations: 1.599 MB / 0.6944 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1654, allocations: 0.6885 MB / 0.695 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.515e-05/0.1654, allocations: 0 / 0.695 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.1655, allocations: 15.44 kB / 0.6951 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of SimCode: time 1.9e-07/0.1655, allocations: 0 / 0.6951 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9883/1.154, allocations: 7.137 MB / 0.702 GB, free: 15.01 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.16, allocations: 10 kB / 0.702 GB, free: 15.01 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)