Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_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.005203/0.005203, allocations: 102 kB / 15.73 MB, free: 6.051 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.001182/0.001182, allocations: 195 kB / 16.68 MB, free: 5.969 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002586/0.002586, allocations: 290.7 kB / 290.8 MB, free: 1.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9425/0.9425, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 99.78 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1631, allocations: 86.98 MB / 0.766 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002403/0.1656, allocations: 1.42 MB / 0.7674 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004112/0.1697, allocations: 2.857 MB / 0.7702 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.1698, allocations: 4 kB / 0.7702 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.1698, allocations: 7.922 kB / 0.7702 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.1698, allocations: 11.86 kB / 0.7702 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003803/0.1737, allocations: 1.563 MB / 0.7717 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.807e-05/0.1738, allocations: 39.67 kB / 0.7717 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.1738, allocations: 8 kB / 0.7718 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.1738, allocations: 11.94 kB / 0.7718 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.488e-05/0.1739, allocations: 15.92 kB / 0.7718 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.988e-06/0.1739, allocations: 4 kB / 0.7718 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.1759, allocations: 1.486 MB / 0.7732 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.1759, allocations: 11.92 kB / 0.7732 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.176, allocations: 15.88 kB / 0.7733 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.1773, allocations: 1.067 MB / 0.7743 GB, free: 320 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1773, allocations: 4 kB / 0.7743 GB, free: 316 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1773, allocations: 0 / 0.7743 GB, free: 316 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1773, allocations: 0 / 0.7743 GB, free: 316 kB / 0.5606 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.2864/0.4638, allocations: 0.5078 MB / 0.7748 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.4638, allocations: 11.02 kB / 0.7748 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.4639, allocations: 107.2 kB / 0.7749 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.4639, allocations: 83.42 kB / 0.775 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.4641, allocations: 252.6 kB / 0.7752 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.4641, allocations: 155.5 kB / 0.7754 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.4641, allocations: 153.9 kB / 0.7755 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.507e-05/0.4642, allocations: 106.8 kB / 0.7756 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4642, allocations: 79.84 kB / 0.7757 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.4642, allocations: 152.9 kB / 0.7759 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.4642, allocations: 155.4 kB / 0.776 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.4643, allocations: 152.4 kB / 0.7761 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.4645, allocations: 465.4 kB / 0.7766 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.4646, allocations: 169.3 kB / 0.7768 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/0.4646, allocations: 85.86 kB / 0.7768 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.4646, allocations: 76.58 kB / 0.7769 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4646, allocations: 106.9 kB / 0.777 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.4646, allocations: 1.812 kB / 0.777 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.093e-05/0.4647, allocations: 37.59 kB / 0.777 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.4647, allocations: 126.7 kB / 0.7772 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.4649, allocations: 135.5 kB / 0.7773 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.4649, allocations: 25.7 kB / 0.7773 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.4649, allocations: 95.75 kB / 0.7774 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.4649, allocations: 3.375 kB / 0.7774 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.465, allocations: 19.44 kB / 0.7774 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.465, allocations: 317.5 kB / 0.7777 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.4651, allocations: 8.953 kB / 0.7777 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.4651, allocations: 2.781 kB / 0.7777 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.628e-05/0.4651, allocations: 15.05 kB / 0.7778 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4651, allocations: 1.438 kB / 0.7778 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001264/0.4653, allocations: 48 kB / 0.7778 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4653, allocations: 10.8 kB / 0.7778 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.4653, allocations: 3.312 kB / 0.7778 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4653, allocations: 2.266 kB / 0.7778 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.4653, allocations: 0.5938 kB / 0.7778 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.4654, allocations: 0 / 0.7778 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.4654, allocations: 6.203 kB / 0.7778 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.4654, allocations: 1.219 kB / 0.7778 GB, free: 11.57 MB / 0.5606 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 4.835e-05/0.4655, allocations: 188.7 kB / 0.778 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.4655, allocations: 110.9 kB / 0.7781 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.4655, allocations: 111.9 kB / 0.7782 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.4656, allocations: 180.5 kB / 0.7784 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.476e-05/0.4656, allocations: 180.6 kB / 0.7786 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/0.4656, allocations: 183.1 kB / 0.7787 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.4657, allocations: 419.7 kB / 0.7791 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.4658, allocations: 103.3 kB / 0.7792 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/0.4658, allocations: 106.4 kB / 0.7793 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-05/0.4658, allocations: 185.3 kB / 0.7795 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.4658, allocations: 181.9 kB / 0.7797 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.125e-05/0.4659, allocations: 185.2 kB / 0.7799 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.137e-05/0.4659, allocations: 179.9 kB / 0.78 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.422e-05/0.466, allocations: 312.9 kB / 0.7803 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.466, allocations: 189.2 kB / 0.7805 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.466, allocations: 182.5 kB / 0.7807 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.4661, allocations: 102.2 kB / 0.7808 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.4661, allocations: 179 kB / 0.781 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.4662, allocations: 111.2 kB / 0.7811 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.857e-05/0.4662, allocations: 95.09 kB / 0.7812 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4662, allocations: 2.594 kB / 0.7812 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008455/0.4671, allocations: 278.8 kB / 0.7814 GB, free: 8.055 MB / 0.5606 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.001099/0.4682, allocations: 1.158 MB / 0.7826 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.4683, allocations: 41.41 kB / 0.7826 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4683, allocations: 0.5312 kB / 0.7826 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.4683, allocations: 3.375 kB / 0.7826 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.4686, allocations: 468.3 kB / 0.783 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.4698, allocations: 1.583 MB / 0.7846 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.4701, allocations: 0.6816 MB / 0.7853 GB, free: 20.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.523e-05/0.4701, allocations: 1.625 kB / 0.7853 GB, free: 20.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.4701, allocations: 16.81 kB / 0.7853 GB, free: 20.67 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.4701, allocations: 1.062 kB / 0.7853 GB, free: 20.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.4946, allocations: 6.874 MB / 0.792 GB, free: 20.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/8.056, allocations: 7.891 kB / 0.792 GB, free: 20.02 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)