Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001029/0.001029, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001166/0.001166, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.074/1.074, allocations: 143.4 MB / 434.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.000461, allocations: 12 kB / 0.5161 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2845, allocations: 83.43 MB / 0.5976 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001994/0.2866, allocations: 1.136 MB / 0.5987 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004993/0.2916, allocations: 2.649 MB / 0.6013 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.2917, allocations: 0 / 0.6013 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.2917, allocations: 0 / 0.6013 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.25e-05/0.2918, allocations: 15.84 kB / 0.6013 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003946/0.2958, allocations: 1.255 MB / 0.6026 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.078e-05/0.2959, allocations: 39.69 kB / 0.6026 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.2959, allocations: 4 kB / 0.6026 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.794e-05/0.296, allocations: 19.91 kB / 0.6026 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.916e-05/0.296, allocations: 15.94 kB / 0.6026 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2961, allocations: 0 / 0.6026 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.2985, allocations: 1.244 MB / 0.6039 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.851e-05/0.2985, allocations: 8 kB / 0.6039 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.2986, allocations: 33.64 kB / 0.6039 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.2999, allocations: 0.7138 MB / 0.6046 GB, free: 500 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2999, allocations: 0 / 0.6046 GB, free: 500 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2999, allocations: 0 / 0.6046 GB, free: 500 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.3, allocations: 4 kB / 0.6046 GB, free: 496 kB / 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.4233/0.7232, allocations: 0.4994 MB / 0.6051 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.7233, allocations: 10.38 kB / 0.6051 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.7233, allocations: 109.2 kB / 0.6052 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.7234, allocations: 82.47 kB / 0.6053 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.958e-05/0.7235, allocations: 243.5 kB / 0.6055 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.7235, allocations: 156.9 kB / 0.6057 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.7235, allocations: 153.8 kB / 0.6058 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.582e-05/0.7236, allocations: 102.3 kB / 0.6059 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.7236, allocations: 76.22 kB / 0.606 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.7236, allocations: 156.7 kB / 0.6061 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.7236, allocations: 152.5 kB / 0.6063 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/0.7237, allocations: 155.5 kB / 0.6064 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.7239, allocations: 467.7 kB / 0.6069 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.986e-05/0.7239, allocations: 176.9 kB / 0.607 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.7239, allocations: 81.83 kB / 0.6071 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.724, allocations: 76.94 kB / 0.6072 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.724, allocations: 108.2 kB / 0.6073 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.724, allocations: 0 / 0.6073 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.118e-05/0.7241, allocations: 35.66 kB / 0.6073 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.7241, allocations: 131.5 kB / 0.6074 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.7242, allocations: 132.8 kB / 0.6076 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.7242, allocations: 25.7 kB / 0.6076 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.7243, allocations: 95.83 kB / 0.6077 GB, free: 38.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.7243, allocations: 0.5469 kB / 0.6077 GB, free: 38.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-06/0.7243, allocations: 1.125 kB / 0.6077 GB, free: 38.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.7243, allocations: 320.6 kB / 0.608 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.7244, allocations: 5.875 kB / 0.608 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.612e-05/0.7244, allocations: 6.109 kB / 0.608 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.7244, allocations: 8.766 kB / 0.608 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7244, allocations: 2.625 kB / 0.608 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001102/0.7245, allocations: 49.98 kB / 0.6081 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.7246, allocations: 9.109 kB / 0.6081 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.7246, allocations: 2.25 kB / 0.6081 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.7246, allocations: 0 / 0.6081 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.7246, allocations: 5.328 kB / 0.6081 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.7246, allocations: 0 / 0.6081 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.7246, allocations: 10.72 kB / 0.6081 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.7247, allocations: 0.8438 kB / 0.6081 GB, free: 37.7 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/0.7247, allocations: 190 kB / 0.6083 GB, free: 37.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.7248, allocations: 112.7 kB / 0.6084 GB, free: 37.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.7248, allocations: 107.9 kB / 0.6085 GB, free: 37.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/0.7249, allocations: 186.5 kB / 0.6087 GB, free: 37.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.163e-05/0.7249, allocations: 181.2 kB / 0.6088 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.67e-05/0.7249, allocations: 180.9 kB / 0.609 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.7251, allocations: 413.4 kB / 0.6094 GB, free: 36.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/0.7251, allocations: 106.8 kB / 0.6095 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.7251, allocations: 105.5 kB / 0.6096 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.971e-05/0.7252, allocations: 186.4 kB / 0.6098 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.7252, allocations: 183 kB / 0.61 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.38e-05/0.7252, allocations: 181.7 kB / 0.6101 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.352e-05/0.7253, allocations: 179 kB / 0.6103 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.369e-05/0.7254, allocations: 312.7 kB / 0.6106 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.7254, allocations: 185.5 kB / 0.6108 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.7255, allocations: 190.1 kB / 0.611 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.7256, allocations: 103.9 kB / 0.6111 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.7256, allocations: 179 kB / 0.6112 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.7256, allocations: 107 kB / 0.6113 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.7257, allocations: 103.2 kB / 0.6114 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.32e-07/0.7257, allocations: 0.8438 kB / 0.6114 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008934/0.7266, allocations: 279.5 kB / 0.6117 GB, free: 34.2 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009362/0.7275, allocations: 1.138 MB / 0.6128 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.979e-05/0.7276, allocations: 43.2 kB / 0.6128 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.7276, allocations: 0 / 0.6128 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.7276, allocations: 7.438 kB / 0.6129 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.7279, allocations: 0.5294 MB / 0.6134 GB, free: 32.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.7287, allocations: 0.6914 MB / 0.614 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.7288, allocations: 0.6816 MB / 0.6147 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.377e-06/0.7289, allocations: 0 / 0.6147 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.7289, allocations: 23.48 kB / 0.6147 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.7289, allocations: 0 / 0.6147 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.7477, allocations: 6.938 MB / 0.6215 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.7479, allocations: 284.3 kB / 0.6218 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.798, allocations: 0 / 0.6218 GB, free: 30.82 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) Environment - environmentSimulation: