Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.004996/0.004996, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001124/0.001124, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002198/0.002198, allocations: 288.7 kB / 290.8 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.929/0.929, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 95.84 kB / 0.681 GB, free: 7.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4649, allocations: 86.98 MB / 0.766 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002587/0.4676, allocations: 1.428 MB / 0.7674 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004261/0.4719, allocations: 2.849 MB / 0.7702 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.4719, allocations: 3.938 kB / 0.7702 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.472, allocations: 3.938 kB / 0.7702 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.472, allocations: 19.86 kB / 0.7702 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.476, allocations: 1.547 MB / 0.7717 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.059e-05/0.476, allocations: 43.67 kB / 0.7717 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.4761, allocations: 4 kB / 0.7717 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.4761, allocations: 11.92 kB / 0.7718 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.564e-05/0.4762, allocations: 11.94 kB / 0.7718 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.4762, allocations: 4 kB / 0.7718 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.4785, allocations: 1.493 MB / 0.7732 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.4785, allocations: 7.938 kB / 0.7732 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.4785, allocations: 15.88 kB / 0.7732 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.4803, allocations: 1.076 MB / 0.7743 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4803, allocations: 3.938 kB / 0.7743 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4803, allocations: 0 / 0.7743 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.4803, allocations: 4 kB / 0.7743 GB, free: 11.32 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.000784/0.4811, allocations: 0.513 MB / 0.7748 GB, free: 10.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4812, allocations: 8.031 kB / 0.7748 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.4812, allocations: 114 kB / 0.7749 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.4813, allocations: 80.22 kB / 0.775 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.4815, allocations: 255.4 kB / 0.7752 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.4815, allocations: 150.9 kB / 0.7754 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.4816, allocations: 150.9 kB / 0.7755 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.822e-05/0.4817, allocations: 112.9 kB / 0.7756 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.4817, allocations: 79.28 kB / 0.7757 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.4817, allocations: 150.6 kB / 0.7759 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/0.4818, allocations: 150.6 kB / 0.776 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.547e-05/0.4819, allocations: 154.6 kB / 0.7762 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.4822, allocations: 457.9 kB / 0.7766 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.129e-05/0.4822, allocations: 177.1 kB / 0.7768 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.4823, allocations: 80.14 kB / 0.7768 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.4823, allocations: 79.22 kB / 0.7769 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.4824, allocations: 109.8 kB / 0.777 GB, free: 8.363 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.4824, allocations: 0 / 0.777 GB, free: 8.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.995e-05/0.4825, allocations: 25.7 kB / 0.777 GB, free: 8.332 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.4825, allocations: 138.6 kB / 0.7772 GB, free: 8.184 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.4827, allocations: 140.9 kB / 0.7773 GB, free: 8.039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.4827, allocations: 25.7 kB / 0.7773 GB, free: 8.008 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.4827, allocations: 84.14 kB / 0.7774 GB, free: 7.922 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.4828, allocations: 0 / 0.7774 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.4828, allocations: 21.72 kB / 0.7774 GB, free: 7.895 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4829, allocations: 314.8 kB / 0.7777 GB, free: 7.578 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.4829, allocations: 12 kB / 0.7777 GB, free: 7.566 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/0.483, allocations: 32 / 0.7777 GB, free: 7.566 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.483, allocations: 16.86 kB / 0.7778 GB, free: 7.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.483, allocations: 0 / 0.7778 GB, free: 7.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001323/0.4832, allocations: 49.53 kB / 0.7778 GB, free: 7.492 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4832, allocations: 7.938 kB / 0.7778 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.4832, allocations: 7.938 kB / 0.7778 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4832, allocations: 0 / 0.7778 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.464e-06/0.4832, allocations: 4 kB / 0.7778 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4832, allocations: 0 / 0.7778 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.4833, allocations: 8.062 kB / 0.7778 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.4833, allocations: 0 / 0.7778 GB, free: 7.465 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 9.432e-05/0.4834, allocations: 189.1 kB / 0.778 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.4834, allocations: 120.8 kB / 0.7781 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.4835, allocations: 112.8 kB / 0.7782 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.342e-05/0.4836, allocations: 180.3 kB / 0.7784 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.696e-05/0.4836, allocations: 180.3 kB / 0.7786 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.055e-05/0.4837, allocations: 192.2 kB / 0.7788 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.4839, allocations: 413.2 kB / 0.7792 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-05/0.484, allocations: 104.9 kB / 0.7793 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.484, allocations: 101 kB / 0.7794 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.746e-05/0.4841, allocations: 184.3 kB / 0.7795 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/0.4842, allocations: 188.2 kB / 0.7797 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.626e-05/0.4842, allocations: 176.3 kB / 0.7799 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.567e-05/0.4843, allocations: 184.2 kB / 0.7801 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.4844, allocations: 307.8 kB / 0.7803 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.373e-05/0.4845, allocations: 189.9 kB / 0.7805 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/0.4846, allocations: 180.3 kB / 0.7807 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.4847, allocations: 104.9 kB / 0.7808 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.4847, allocations: 176.3 kB / 0.781 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.4848, allocations: 105 kB / 0.7811 GB, free: 3.926 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.385e-05/0.4848, allocations: 103.3 kB / 0.7812 GB, free: 3.824 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4848, allocations: 11.94 kB / 0.7812 GB, free: 3.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007734/0.4856, allocations: 271.8 kB / 0.7814 GB, free: 3.547 MB / 0.545 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.001473/0.4871, allocations: 1.17 MB / 0.7826 GB, free: 2.352 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.051e-05/0.4872, allocations: 37.7 kB / 0.7826 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4872, allocations: 0 / 0.7826 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-06/0.4872, allocations: 3.938 kB / 0.7826 GB, free: 2.305 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.4876, allocations: 463.4 kB / 0.7831 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.4891, allocations: 1.582 MB / 0.7846 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.4894, allocations: 0.6845 MB / 0.7853 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.664e-05/0.4894, allocations: 0 / 0.7853 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.4894, allocations: 15.44 kB / 0.7853 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.4894, allocations: 0 / 0.7853 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.5147, allocations: 6.891 MB / 0.792 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/8.109, allocations: 7.062 kB / 0.792 GB, free: 8.793 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)