Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_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.007272/0.007272, allocations: 102 kB / 15.73 MB, free: 6.043 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.001552/0.001552, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.969/0.969, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 63.89 kB / 0.5852 GB, free: 3.773 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4392, allocations: 80.91 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002341/0.4416, allocations: 1.436 MB / 0.6656 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003702/0.4453, allocations: 2.871 MB / 0.6684 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.4454, allocations: 4 kB / 0.6684 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.4454, allocations: 3.938 kB / 0.6685 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.4455, allocations: 14.7 kB / 0.6685 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00411/0.4496, allocations: 1.585 MB / 0.67 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.4498, allocations: 42.27 kB / 0.6701 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.4498, allocations: 6.984 kB / 0.6701 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.802e-05/0.4499, allocations: 10.75 kB / 0.6701 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.728e-05/0.4499, allocations: 20.38 kB / 0.6701 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.4499, allocations: 5.438 kB / 0.6701 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.4524, allocations: 1.531 MB / 0.6716 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.4524, allocations: 1 kB / 0.6716 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.4524, allocations: 23.97 kB / 0.6716 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.4542, allocations: 1.093 MB / 0.6727 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4542, allocations: 1.281 kB / 0.6727 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4542, allocations: 0 / 0.6727 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.4542, allocations: 0 / 0.6727 GB, free: 1.273 MB / 0.4981 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.0006203/0.4549, allocations: 0.5179 MB / 0.6732 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4549, allocations: 9.188 kB / 0.6732 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.455, allocations: 106 kB / 0.6733 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.455, allocations: 86 kB / 0.6734 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.4551, allocations: 258.6 kB / 0.6736 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.4552, allocations: 155.5 kB / 0.6738 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.249e-05/0.4552, allocations: 159.9 kB / 0.6739 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.077e-05/0.4553, allocations: 101 kB / 0.674 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.4554, allocations: 75.28 kB / 0.6741 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/0.4554, allocations: 151.8 kB / 0.6742 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.881e-05/0.4555, allocations: 150.6 kB / 0.6744 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.34e-05/0.4556, allocations: 155.9 kB / 0.6745 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.4559, allocations: 469.9 kB / 0.675 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.456, allocations: 169.1 kB / 0.6751 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.4561, allocations: 81.64 kB / 0.6752 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.4561, allocations: 75.28 kB / 0.6753 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.4562, allocations: 119.1 kB / 0.6754 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.4562, allocations: 0 / 0.6754 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.728e-05/0.4563, allocations: 35.89 kB / 0.6754 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.4564, allocations: 126.7 kB / 0.6756 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.4566, allocations: 132.3 kB / 0.6757 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.4566, allocations: 25.7 kB / 0.6757 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.4566, allocations: 94.39 kB / 0.6758 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.4567, allocations: 16 / 0.6758 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.4567, allocations: 23.08 kB / 0.6758 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4569, allocations: 320.8 kB / 0.6761 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.4569, allocations: 3.156 kB / 0.6761 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.4569, allocations: 11.44 kB / 0.6761 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.468e-05/0.457, allocations: 10.48 kB / 0.6762 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.457, allocations: 4.906 kB / 0.6762 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001623/0.4571, allocations: 48.42 kB / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4572, allocations: 4.5 kB / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.4572, allocations: 7.312 kB / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4572, allocations: 9.062 kB / 0.6762 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.4572, allocations: 0 / 0.6762 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4572, allocations: 0 / 0.6762 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.4573, allocations: 9.031 kB / 0.6762 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.4573, allocations: 1.156 kB / 0.6762 GB, free: 13.55 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.0001117/0.4574, allocations: 192.5 kB / 0.6764 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/0.4575, allocations: 111.2 kB / 0.6765 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.393e-05/0.4576, allocations: 114.9 kB / 0.6766 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.143e-05/0.4577, allocations: 185.4 kB / 0.6768 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.574e-05/0.4578, allocations: 185.3 kB / 0.677 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.753e-05/0.4578, allocations: 177.3 kB / 0.6772 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.4581, allocations: 415.6 kB / 0.6776 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.822e-05/0.4582, allocations: 110 kB / 0.6777 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.4582, allocations: 102.1 kB / 0.6778 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.479e-05/0.4583, allocations: 185.3 kB / 0.6779 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.765e-05/0.4584, allocations: 181.2 kB / 0.6781 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.067e-05/0.4585, allocations: 181.3 kB / 0.6783 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.189e-05/0.4586, allocations: 181.4 kB / 0.6784 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.4588, allocations: 320.9 kB / 0.6788 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.4589, allocations: 184.2 kB / 0.6789 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.459, allocations: 181.3 kB / 0.6791 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.4591, allocations: 106.1 kB / 0.6792 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.4592, allocations: 181.3 kB / 0.6794 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.4592, allocations: 112.9 kB / 0.6795 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.161e-05/0.4593, allocations: 99.58 kB / 0.6796 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4593, allocations: 0 / 0.6796 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001173/0.4605, allocations: 278.5 kB / 0.6798 GB, free: 9.871 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.001543/0.462, allocations: 1.178 MB / 0.681 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.4622, allocations: 42.95 kB / 0.681 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4622, allocations: 0 / 0.681 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-06/0.4622, allocations: 1.219 kB / 0.681 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.4626, allocations: 468.1 kB / 0.6815 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.4644, allocations: 1.595 MB / 0.683 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.4647, allocations: 0.6809 MB / 0.6837 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.4648, allocations: 4.031 kB / 0.6837 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.4648, allocations: 17.86 kB / 0.6837 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.4648, allocations: 0 / 0.6837 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.4938, allocations: 7.041 MB / 0.6906 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.387, allocations: 18.86 kB / 0.6906 GB, free: 2.594 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)