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/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.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/BuildSysPro 3.5.0/package.mo): time 0.7122/0.7122, 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.001154/0.001154, allocations: 184.7 kB / 169.7 MB, free: 1.723 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.59/1.59, allocations: 205.1 MB / 404.5 MB, free: 1.551 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.0008136/0.0008135, allocations: 89.48 kB / 481.8 MB, free: 4.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.573e-05, allocations: 4 kB / 0.5534 GB, free: 54.64 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1557, allocations: 76.76 MB / 0.6283 GB, free: 9.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5758/0.7315, allocations: 125.5 MB / 0.7509 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/0.7319, allocations: 128.2 kB / 0.751 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04824/0.7802, allocations: 15.61 MB / 0.7663 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7802, allocations: 0 / 0.7663 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.7802, allocations: 0 / 0.7663 GB, free: 6.301 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.001137/0.7814, allocations: 0.5601 MB / 0.7668 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.7814, allocations: 15.97 kB / 0.7668 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.601e-05/0.7815, allocations: 109.8 kB / 0.7669 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/0.7816, allocations: 79.5 kB / 0.767 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.7818, allocations: 254 kB / 0.7672 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.097e-05/0.7819, allocations: 154.5 kB / 0.7674 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/0.782, allocations: 150.6 kB / 0.7675 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.353e-05/0.7821, allocations: 105 kB / 0.7676 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.7821, allocations: 79.28 kB / 0.7677 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.7822, allocations: 154.5 kB / 0.7679 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.7822, allocations: 150.6 kB / 0.768 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.628e-05/0.7823, allocations: 154.6 kB / 0.7681 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.7827, allocations: 464.7 kB / 0.7686 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.554e-05/0.7828, allocations: 173.1 kB / 0.7688 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.7829, allocations: 80.14 kB / 0.7688 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.536e-05/0.7829, allocations: 75.28 kB / 0.7689 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.718e-05/0.783, allocations: 105.8 kB / 0.769 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.783, allocations: 0 / 0.769 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.000103/0.7831, allocations: 41.55 kB / 0.769 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.7832, allocations: 130.6 kB / 0.7692 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.7834, allocations: 123.2 kB / 0.7693 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.7834, allocations: 29.69 kB / 0.7693 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.7835, allocations: 91.2 kB / 0.7694 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.7835, allocations: 0 / 0.7694 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-06/0.7835, allocations: 0 / 0.7694 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7836, allocations: 314.8 kB / 0.7697 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.7837, allocations: 15.12 kB / 0.7697 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.549e-05/0.7837, allocations: 4 kB / 0.7697 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.115e-05/0.7837, allocations: 11.94 kB / 0.7697 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7837, allocations: 0 / 0.7697 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001491/0.7839, allocations: 49.48 kB / 0.7698 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.7839, allocations: 7.938 kB / 0.7698 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.7839, allocations: 4 kB / 0.7698 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.784, allocations: 0 / 0.7698 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.784, allocations: 0 / 0.7698 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.784, allocations: 7.984 kB / 0.7698 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.784, allocations: 8.016 kB / 0.7698 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.784, allocations: 3.938 kB / 0.7698 GB, free: 2.477 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 9.889e-05/0.7841, allocations: 176.3 kB / 0.77 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.7842, allocations: 108.9 kB / 0.7701 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.7843, allocations: 116.2 kB / 0.7702 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.728e-05/0.7844, allocations: 184.5 kB / 0.7704 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.462e-05/0.7844, allocations: 180.3 kB / 0.7705 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.396e-05/0.7845, allocations: 180.2 kB / 0.7707 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.7848, allocations: 416.3 kB / 0.7711 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.894e-05/0.7848, allocations: 104.9 kB / 0.7712 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.7849, allocations: 109 kB / 0.7713 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.856e-05/0.7849, allocations: 176.3 kB / 0.7715 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-05/0.785, allocations: 187.5 kB / 0.7717 GB, free: 476 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.025e-05/0.7851, allocations: 176.3 kB / 0.7718 GB, free: 292 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.924e-05/0.7852, allocations: 188.2 kB / 0.772 GB, free: 96 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.7854, allocations: 311.5 kB / 0.7723 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.7855, allocations: 186 kB / 0.7725 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/0.7855, allocations: 180.3 kB / 0.7727 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.7856, allocations: 105.9 kB / 0.7728 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.7857, allocations: 180.2 kB / 0.7729 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.7858, allocations: 104 kB / 0.773 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.297e-05/0.7858, allocations: 102.2 kB / 0.7731 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7858, allocations: 4 kB / 0.7731 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001297/0.7871, allocations: 337.6 kB / 0.7734 GB, free: 14.56 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.002344/0.7895, allocations: 1.219 MB / 0.7746 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.7896, allocations: 49.38 kB / 0.7747 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7896, allocations: 0 / 0.7747 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/0.7897, allocations: 0 / 0.7747 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.79, allocations: 0.5222 MB / 0.7752 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009655/0.791, allocations: 340.9 kB / 0.7755 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.7914, allocations: 0.6849 MB / 0.7762 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.7914, allocations: 7.984 kB / 0.7762 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.7915, allocations: 19.12 kB / 0.7762 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/0.7915, allocations: 0 / 0.7762 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.8142, allocations: 6.659 MB / 0.7827 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/0.8145, allocations: 280.5 kB / 0.783 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.695, allocations: 0 / 0.783 GB, free: 4.824 MB / 0.5261 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)