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.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/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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_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.009173/0.009173, allocations: 102.1 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.001947/0.001947, 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9464/0.9464, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 68.03 kB / 0.5852 GB, free: 3.762 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4356, allocations: 80.91 MB / 0.6642 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002193/0.4378, allocations: 1.434 MB / 0.6656 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003486/0.4413, allocations: 2.825 MB / 0.6684 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.4414, allocations: 0 / 0.6684 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.4415, allocations: 7.922 kB / 0.6684 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.763e-05/0.4416, allocations: 14.17 kB / 0.6684 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.4453, allocations: 1.572 MB / 0.6699 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.4454, allocations: 36.89 kB / 0.67 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.4454, allocations: 6.922 kB / 0.67 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.4455, allocations: 15.02 kB / 0.67 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.861e-05/0.4455, allocations: 14.91 kB / 0.67 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.4455, allocations: 1.125 kB / 0.67 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.4476, allocations: 1.483 MB / 0.6715 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.4477, allocations: 5.203 kB / 0.6715 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.4477, allocations: 22.42 kB / 0.6715 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.4493, allocations: 1.067 MB / 0.6725 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4493, allocations: 3.938 kB / 0.6725 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4493, allocations: 0 / 0.6725 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4493, allocations: 1.344 kB / 0.6725 GB, free: 1.531 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.0005926/0.4499, allocations: 0.507 MB / 0.673 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.45, allocations: 10.09 kB / 0.673 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.45, allocations: 106 kB / 0.6731 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.45, allocations: 86.75 kB / 0.6732 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.635e-05/0.4501, allocations: 249.8 kB / 0.6735 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.4502, allocations: 158.5 kB / 0.6736 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.4502, allocations: 151.9 kB / 0.6738 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.948e-05/0.4503, allocations: 102.4 kB / 0.6739 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4503, allocations: 75.28 kB / 0.6739 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.888e-05/0.4503, allocations: 158.5 kB / 0.6741 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/0.4504, allocations: 150.6 kB / 0.6742 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/0.4504, allocations: 151.5 kB / 0.6744 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.4508, allocations: 469.9 kB / 0.6748 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.4509, allocations: 170.4 kB / 0.675 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.4509, allocations: 84.08 kB / 0.6751 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.4509, allocations: 83.16 kB / 0.6751 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.451, allocations: 111.2 kB / 0.6752 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.451, allocations: 0 / 0.6752 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.177e-05/0.4511, allocations: 32.36 kB / 0.6753 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.4511, allocations: 135.9 kB / 0.6754 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4513, allocations: 125.2 kB / 0.6755 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.4513, allocations: 26.95 kB / 0.6755 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.4514, allocations: 94.62 kB / 0.6756 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.4514, allocations: 0 / 0.6756 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.4514, allocations: 13.81 kB / 0.6756 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4515, allocations: 325.3 kB / 0.676 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.4515, allocations: 2.594 kB / 0.676 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.4516, allocations: 14.88 kB / 0.676 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/0.4516, allocations: 9.547 kB / 0.676 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4516, allocations: 1.25 kB / 0.676 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001279/0.4518, allocations: 50.09 kB / 0.676 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4518, allocations: 5.438 kB / 0.676 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.4518, allocations: 3.516 kB / 0.676 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4518, allocations: 3.984 kB / 0.676 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.4518, allocations: 0 / 0.676 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4518, allocations: 1.031 kB / 0.676 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.4519, allocations: 0 / 0.676 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4519, allocations: 6.281 kB / 0.6761 GB, free: 13.84 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.0001004/0.452, allocations: 191.2 kB / 0.6762 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.4521, allocations: 116.2 kB / 0.6763 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.4521, allocations: 111.1 kB / 0.6765 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.163e-05/0.4522, allocations: 185.1 kB / 0.6766 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-05/0.4522, allocations: 185.3 kB / 0.6768 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-05/0.4523, allocations: 181.4 kB / 0.677 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.4525, allocations: 419.6 kB / 0.6774 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/0.4525, allocations: 102.5 kB / 0.6775 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.4526, allocations: 104.9 kB / 0.6776 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.924e-05/0.4526, allocations: 177.1 kB / 0.6777 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/0.4527, allocations: 185.4 kB / 0.6779 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.213e-05/0.4527, allocations: 181.3 kB / 0.6781 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.143e-05/0.4528, allocations: 181.2 kB / 0.6783 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.4529, allocations: 317.3 kB / 0.6786 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/0.453, allocations: 187.1 kB / 0.6787 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.4531, allocations: 178.8 kB / 0.6789 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.4532, allocations: 105 kB / 0.679 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.4532, allocations: 181.4 kB / 0.6792 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.4533, allocations: 106.1 kB / 0.6793 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.534e-05/0.4533, allocations: 105.9 kB / 0.6794 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4533, allocations: 0 / 0.6794 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009399/0.4543, allocations: 282.2 kB / 0.6797 GB, free: 10.15 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.001387/0.4557, allocations: 1.153 MB / 0.6808 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.4558, allocations: 42.02 kB / 0.6808 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4558, allocations: 0 / 0.6808 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.467e-06/0.4558, allocations: 1.031 kB / 0.6808 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.4562, allocations: 463.5 kB / 0.6813 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.4578, allocations: 1.574 MB / 0.6828 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.4581, allocations: 0.681 MB / 0.6835 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.113e-05/0.4581, allocations: 0 / 0.6835 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.4582, allocations: 18.16 kB / 0.6835 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of SimCode: time 1.944e-06/0.4582, allocations: 0 / 0.6835 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.4872, allocations: 6.853 MB / 0.6902 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.53, allocations: 15.08 kB / 0.6902 GB, free: 3.004 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)