Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.005394/0.005394, allocations: 101.1 kB / 15.73 MB, free: 5.996 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.001261/0.001261, allocations: 191.9 kB / 16.67 MB, free: 5.926 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 288.5 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9139/0.9139, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 91.86 kB / 0.681 GB, free: 7.395 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4194, 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.MultipoleThermalResistances_OneUTube): time 0.002345/0.4218, allocations: 1.362 MB / 0.7673 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.4245, allocations: 1.802 MB / 0.7691 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.4246, allocations: 0 / 0.7691 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.433e-05/0.4247, allocations: 4 kB / 0.7691 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.4248, allocations: 31.83 kB / 0.7691 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.4273, allocations: 1.149 MB / 0.7702 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.297e-05/0.4274, allocations: 47.77 kB / 0.7703 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.4274, allocations: 4 kB / 0.7703 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.318e-05/0.4275, allocations: 23.91 kB / 0.7703 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.4276, allocations: 27.84 kB / 0.7703 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.4276, allocations: 4 kB / 0.7703 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.4286, allocations: 0.8813 MB / 0.7712 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.4287, allocations: 31.91 kB / 0.7712 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.4288, allocations: 27.81 kB / 0.7712 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008827/0.4296, allocations: 0.7974 MB / 0.772 GB, free: 13.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4297, allocations: 0 / 0.772 GB, free: 13.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4297, allocations: 0 / 0.772 GB, free: 13.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.4297, allocations: 0 / 0.772 GB, free: 13.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005144/0.4302, allocations: 478.8 kB / 0.7725 GB, free: 13.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4302, allocations: 8.031 kB / 0.7725 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.4303, allocations: 42.69 kB / 0.7725 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.4303, allocations: 4.844 kB / 0.7725 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.4305, allocations: 185.6 kB / 0.7727 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.4305, allocations: 8.125 kB / 0.7727 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-06/0.4305, allocations: 4 kB / 0.7727 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.572e-05/0.4306, allocations: 53.69 kB / 0.7728 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4306, allocations: 0 / 0.7728 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.4306, allocations: 0 / 0.7728 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4306, allocations: 0 / 0.7728 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.472e-05/0.4307, allocations: 23.98 kB / 0.7728 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.4309, allocations: 193.6 kB / 0.773 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.783e-05/0.4309, allocations: 54.52 kB / 0.773 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.431, allocations: 32.88 kB / 0.7731 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.431, allocations: 160 / 0.7731 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.431, allocations: 34.56 kB / 0.7731 GB, free: 12.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.431, allocations: 0 / 0.7731 GB, free: 12.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0001902/0.4312, allocations: 125.5 kB / 0.7732 GB, free: 12.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.4312, allocations: 51.41 kB / 0.7733 GB, free: 12.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.4314, allocations: 156.3 kB / 0.7734 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.4314, allocations: 29.73 kB / 0.7734 GB, free: 11.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.4314, allocations: 96.08 kB / 0.7735 GB, free: 11.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.4315, allocations: 31.55 kB / 0.7736 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.4315, allocations: 13.72 kB / 0.7736 GB, free: 11.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4316, allocations: 326.8 kB / 0.7739 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.4317, allocations: 27.92 kB / 0.7739 GB, free: 11.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.4317, allocations: 24 kB / 0.7739 GB, free: 11.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.833e-05/0.4318, allocations: 65.12 kB / 0.774 GB, free: 11.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.4318, allocations: 4.031 kB / 0.774 GB, free: 11.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001065/0.4319, allocations: 97.52 kB / 0.7741 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.4319, allocations: 4 kB / 0.7741 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4319, allocations: 4 kB / 0.7741 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.432, allocations: 0 / 0.7741 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.432, allocations: 0 / 0.7741 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.432, allocations: 0 / 0.7741 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.432, allocations: 3.938 kB / 0.7741 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.432, allocations: 4 kB / 0.7741 GB, free: 11.28 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.629e-05/0.4321, allocations: 125.8 kB / 0.7742 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.4321, allocations: 15.8 kB / 0.7742 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.4323, allocations: 106.4 kB / 0.7743 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4323, allocations: 0 / 0.7743 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4323, allocations: 0 / 0.7743 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4323, allocations: 3.938 kB / 0.7743 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.4324, allocations: 193.6 kB / 0.7745 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4324, allocations: 0 / 0.7745 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.4324, allocations: 0 / 0.7745 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4325, allocations: 0 / 0.7745 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.4325, allocations: 12.03 kB / 0.7745 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4325, allocations: 0 / 0.7745 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4325, allocations: 0 / 0.7745 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.4326, allocations: 128.8 kB / 0.7747 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.4326, allocations: 88.95 kB / 0.7748 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.4327, allocations: 0 / 0.7748 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.137e-05/0.4327, allocations: 0 / 0.7748 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.4327, allocations: 0 / 0.7748 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.4327, allocations: 12.02 kB / 0.7748 GB, free: 10.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.16e-05/0.4328, allocations: 124.8 kB / 0.7749 GB, free: 10.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4328, allocations: 0 / 0.7749 GB, free: 10.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004657/0.4333, allocations: 199.9 kB / 0.7751 GB, free: 10.18 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 (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 Backend phase and start with SimCode phase: time 0.0009177/0.4342, allocations: 0.8777 MB / 0.7759 GB, free: 9.277 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.4343, allocations: 97.67 kB / 0.776 GB, free: 9.176 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4344, allocations: 0 / 0.776 GB, free: 9.176 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.4344, allocations: 69.69 kB / 0.7761 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.4346, allocations: 16.36 kB / 0.7761 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.436, allocations: 1.595 MB / 0.7777 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.4362, allocations: 0.7118 MB / 0.7784 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.638e-05/0.4362, allocations: 0 / 0.7784 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.4363, allocations: 19.44 kB / 0.7784 GB, free: 6.652 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.4363, allocations: 8 kB / 0.7784 GB, free: 6.645 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.4573, allocations: 6.017 MB / 0.7843 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.672, allocations: 16.72 kB / 0.7843 GB, free: 0.8516 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)