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.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7382/0.7382, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 180.1 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.1 MB / 404.5 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008601/0.0008603, allocations: 90.17 kB / 481.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.938e-05, allocations: 4 kB / 0.5534 GB, free: 54.69 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1784, allocations: 76.76 MB / 0.6283 GB, free: 9.863 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6064/0.7849, allocations: 125.5 MB / 0.7509 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/0.7853, allocations: 124.5 kB / 0.751 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04718/0.8325, allocations: 15.62 MB / 0.7663 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8325, allocations: 0 / 0.7663 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.8326, allocations: 0 / 0.7663 GB, free: 6.281 MB / 0.5105 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.001164/0.8337, allocations: 0.5568 MB / 0.7668 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.8338, allocations: 11.97 kB / 0.7668 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.8339, allocations: 105.8 kB / 0.7669 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.8339, allocations: 91.48 kB / 0.767 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.8341, allocations: 246.2 kB / 0.7672 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.8342, allocations: 154.5 kB / 0.7674 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.8343, allocations: 150.6 kB / 0.7675 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.906e-05/0.8344, allocations: 104.1 kB / 0.7676 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.8344, allocations: 79.27 kB / 0.7677 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.8345, allocations: 162.5 kB / 0.7679 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.8345, allocations: 150.6 kB / 0.768 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/0.8346, allocations: 150.6 kB / 0.7681 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.8349, allocations: 465.4 kB / 0.7686 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.983e-05/0.835, allocations: 169.1 kB / 0.7688 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.835, allocations: 83.33 kB / 0.7688 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.8351, allocations: 75.28 kB / 0.7689 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.8351, allocations: 113.8 kB / 0.769 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.8351, allocations: 0 / 0.769 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.918e-05/0.8352, allocations: 33.55 kB / 0.769 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.8353, allocations: 134.6 kB / 0.7692 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.8355, allocations: 120 kB / 0.7693 GB, free: 3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.8355, allocations: 29.7 kB / 0.7693 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.8355, allocations: 86.83 kB / 0.7694 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.8356, allocations: 0 / 0.7694 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.8356, allocations: 0 / 0.7694 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.8357, allocations: 318.8 kB / 0.7697 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.8357, allocations: 7.062 kB / 0.7697 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.57e-05/0.8357, allocations: 8 kB / 0.7697 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.8358, allocations: 6.438 kB / 0.7697 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8358, allocations: 0 / 0.7697 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001231/0.8359, allocations: 56.66 kB / 0.7698 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.8359, allocations: 10.81 kB / 0.7698 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.836, allocations: 4 kB / 0.7698 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.836, allocations: 3.938 kB / 0.7698 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.836, allocations: 0 / 0.7698 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.836, allocations: 0 / 0.7698 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.836, allocations: 3.953 kB / 0.7698 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.836, allocations: 8 kB / 0.7698 GB, free: 2.461 MB / 0.5105 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 () * 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 0.0001004/0.8361, allocations: 182.8 kB / 0.77 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.8362, allocations: 104.9 kB / 0.7701 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.8363, allocations: 119.9 kB / 0.7702 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.204e-05/0.8364, allocations: 180.5 kB / 0.7704 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.621e-05/0.8364, allocations: 176.3 kB / 0.7705 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.536e-05/0.8365, allocations: 188.2 kB / 0.7707 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.8367, allocations: 416.4 kB / 0.7711 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/0.8368, allocations: 108.9 kB / 0.7712 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.8368, allocations: 101 kB / 0.7713 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.381e-05/0.8369, allocations: 176.3 kB / 0.7715 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.837, allocations: 184.2 kB / 0.7717 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-05/0.837, allocations: 192 kB / 0.7718 GB, free: 264 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.667e-05/0.8371, allocations: 180.2 kB / 0.772 GB, free: 76 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.8373, allocations: 307.6 kB / 0.7723 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.8373, allocations: 188.8 kB / 0.7725 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.8374, allocations: 180.3 kB / 0.7727 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.8375, allocations: 105.9 kB / 0.7728 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.8376, allocations: 176.3 kB / 0.7729 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.8376, allocations: 111.1 kB / 0.773 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.8377, allocations: 100.6 kB / 0.7731 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8377, allocations: 0 / 0.7731 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00122/0.8389, allocations: 339.8 kB / 0.7735 GB, free: 14.54 MB / 0.5261 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 () * 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.001585/0.8405, allocations: 1.221 MB / 0.7746 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.8406, allocations: 40.64 kB / 0.7747 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.8406, allocations: 4.062 kB / 0.7747 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.8406, allocations: 3.938 kB / 0.7747 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.841, allocations: 0.5257 MB / 0.7752 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.8416, allocations: 337.6 kB / 0.7755 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.8418, allocations: 0.6887 MB / 0.7762 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.422e-05/0.8419, allocations: 7.938 kB / 0.7762 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.8419, allocations: 13.5 kB / 0.7762 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.8419, allocations: 0 / 0.7762 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.8652, allocations: 6.649 MB / 0.7827 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/0.8656, allocations: 275 kB / 0.783 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.697, allocations: 0 / 0.783 GB, free: 4.84 MB / 0.5261 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)