Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001411, allocations: 110.8 kB / 16.42 MB, free: 6.5 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.001262/0.001262, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0022/0.0022, allocations: 293.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9202/0.9202, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 91.86 kB / 0.6822 GB, free: 6.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3895, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002406/0.392, allocations: 1.432 MB / 0.7685 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003925/0.3959, allocations: 2.901 MB / 0.7714 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.3959, allocations: 4 kB / 0.7714 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.396, allocations: 3.938 kB / 0.7714 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.089e-05/0.396, allocations: 11.86 kB / 0.7714 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.3994, allocations: 1.577 MB / 0.7729 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.689e-05/0.3995, allocations: 55.66 kB / 0.773 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.341e-05/0.3996, allocations: 0 / 0.773 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.644e-05/0.3996, allocations: 15.92 kB / 0.773 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.316e-05/0.3996, allocations: 11.94 kB / 0.773 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.3996, allocations: 4 kB / 0.773 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.4016, allocations: 1.537 MB / 0.7745 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.4016, allocations: 7.922 kB / 0.7745 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.4017, allocations: 19.88 kB / 0.7745 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.4029, allocations: 1.098 MB / 0.7756 GB, free: 11.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.403, allocations: 4 kB / 0.7756 GB, free: 11.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.183e-06/0.403, allocations: 0 / 0.7756 GB, free: 11.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.403, allocations: 0 / 0.7756 GB, free: 11.22 MB / 0.545 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.0005398/0.4035, allocations: 0.5185 MB / 0.7761 GB, free: 10.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.4036, allocations: 8.031 kB / 0.7761 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.4036, allocations: 80.22 kB / 0.7762 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.4038, allocations: 259.4 kB / 0.7764 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.4038, allocations: 154.9 kB / 0.7766 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.4039, allocations: 150.9 kB / 0.7767 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.151e-05/0.4039, allocations: 105.1 kB / 0.7768 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.404, allocations: 79.27 kB / 0.7769 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.404, allocations: 158.5 kB / 0.7771 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.4041, allocations: 150.6 kB / 0.7772 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.07e-05/0.4041, allocations: 154.6 kB / 0.7774 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.4044, allocations: 461.9 kB / 0.7778 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.66e-05/0.4045, allocations: 173.1 kB / 0.778 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.4045, allocations: 80.14 kB / 0.778 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4046, allocations: 87.16 kB / 0.7781 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.4046, allocations: 113.8 kB / 0.7782 GB, free: 8.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.4046, allocations: 0 / 0.7782 GB, free: 8.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.747e-05/0.4047, allocations: 29.69 kB / 0.7783 GB, free: 8.324 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.4047, allocations: 51.41 kB / 0.7783 GB, free: 8.262 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.4049, allocations: 140.7 kB / 0.7784 GB, free: 8.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.4049, allocations: 25.7 kB / 0.7785 GB, free: 8.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.4049, allocations: 96.16 kB / 0.7786 GB, free: 7.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.4049, allocations: 0 / 0.7786 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.405, allocations: 21.7 kB / 0.7786 GB, free: 7.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4051, allocations: 314.8 kB / 0.7789 GB, free: 7.645 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.4051, allocations: 4 kB / 0.7789 GB, free: 7.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/0.4051, allocations: 7.938 kB / 0.7789 GB, free: 7.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.4052, allocations: 16.84 kB / 0.7789 GB, free: 7.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4052, allocations: 4 kB / 0.7789 GB, free: 7.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001122/0.4053, allocations: 49.61 kB / 0.779 GB, free: 7.555 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.4053, allocations: 12 kB / 0.779 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.4053, allocations: 0 / 0.779 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.4054, allocations: 0 / 0.779 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.4054, allocations: 4 kB / 0.779 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4054, allocations: 0 / 0.779 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.4054, allocations: 3.938 kB / 0.779 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.4054, allocations: 0 / 0.779 GB, free: 7.535 MB / 0.545 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 8.818e-05/0.4055, allocations: 193.1 kB / 0.7792 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.4056, allocations: 116.8 kB / 0.7793 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.4056, allocations: 112.9 kB / 0.7794 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.756e-05/0.4057, allocations: 184.2 kB / 0.7796 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-05/0.4057, allocations: 105 kB / 0.7797 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.055e-05/0.4058, allocations: 190 kB / 0.7798 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-05/0.4059, allocations: 180.2 kB / 0.78 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.4059, allocations: 105 kB / 0.7801 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.406, allocations: 184.2 kB / 0.7803 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.003e-05/0.4061, allocations: 259.5 kB / 0.7805 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001477/0.4062, allocations: 379 kB / 0.7809 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.559e-05/0.4063, allocations: 112.9 kB / 0.781 GB, free: 5.336 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.129e-05/0.4064, allocations: 103.2 kB / 0.7811 GB, free: 5.234 MB / 0.545 GB Notification: Performance of Backend: time 1.91e-07/0.4064, allocations: 0 / 0.7811 GB, free: 5.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.4077, allocations: 0.5032 MB / 0.7816 GB, free: 4.723 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005379/0.4082, allocations: 0.9208 MB / 0.7825 GB, free: 3.75 MB / 0.545 GB Notification: Performance of Templates: time 0.009619/0.4178, allocations: 6.392 MB / 0.7887 GB, free: 13.41 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)