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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.7734/0.7734, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001156/0.001156, allocations: 187.5 kB / 169.7 MB, free: 1.738 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.678/1.678, allocations: 205.1 MB / 404.5 MB, free: 1.664 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.0008328/0.0008327, allocations: 86.17 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.634e-05, allocations: 4 kB / 0.5534 GB, free: 54.67 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1596, allocations: 76.76 MB / 0.6283 GB, free: 9.852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5919/0.7516, allocations: 124.7 MB / 0.7501 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.752, allocations: 121.1 kB / 0.7502 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04531/0.7973, allocations: 15.3 MB / 0.7652 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.607e-06/0.7973, allocations: 0 / 0.7652 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.7974, allocations: 3.938 kB / 0.7652 GB, free: 7.387 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.001001/0.7984, allocations: 0.555 MB / 0.7657 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.7984, allocations: 15.97 kB / 0.7657 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.647e-05/0.7985, allocations: 109.8 kB / 0.7658 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.7986, allocations: 79.5 kB / 0.7659 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.7987, allocations: 250.2 kB / 0.7662 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-05/0.7988, allocations: 150.6 kB / 0.7663 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.7989, allocations: 154.6 kB / 0.7665 GB, free: 6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.396e-05/0.7989, allocations: 108.6 kB / 0.7666 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.799, allocations: 75.28 kB / 0.7666 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.799, allocations: 158.5 kB / 0.7668 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.7991, allocations: 150.6 kB / 0.7669 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.525e-05/0.7991, allocations: 150.6 kB / 0.7671 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.7995, allocations: 464.9 kB / 0.7675 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.7996, allocations: 165.1 kB / 0.7677 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.7996, allocations: 84.14 kB / 0.7677 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.7997, allocations: 82.66 kB / 0.7678 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.7997, allocations: 105.8 kB / 0.7679 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.7997, allocations: 4 kB / 0.7679 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.953e-05/0.7998, allocations: 33.61 kB / 0.768 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.7999, allocations: 130.6 kB / 0.7681 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.8, allocations: 114.9 kB / 0.7682 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.8, allocations: 33.69 kB / 0.7682 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.8001, allocations: 86.89 kB / 0.7683 GB, free: 4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.8001, allocations: 0 / 0.7683 GB, free: 4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.8001, allocations: 0 / 0.7683 GB, free: 4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8002, allocations: 322.3 kB / 0.7686 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.8002, allocations: 3.984 kB / 0.7686 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.8003, allocations: 11.31 kB / 0.7686 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.8003, allocations: 4 kB / 0.7686 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8003, allocations: 0 / 0.7686 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001238/0.8004, allocations: 53.02 kB / 0.7687 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8005, allocations: 4 kB / 0.7687 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.8005, allocations: 7.984 kB / 0.7687 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.8005, allocations: 0 / 0.7687 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.8005, allocations: 0 / 0.7687 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.8005, allocations: 8 kB / 0.7687 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.8006, allocations: 3.953 kB / 0.7687 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.8006, allocations: 7.938 kB / 0.7687 GB, free: 3.578 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 8.239e-05/0.8007, allocations: 180.2 kB / 0.7689 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.8007, allocations: 112.8 kB / 0.769 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.8008, allocations: 112 kB / 0.7691 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.005e-05/0.8009, allocations: 184.5 kB / 0.7693 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-05/0.801, allocations: 188.2 kB / 0.7695 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.528e-05/0.801, allocations: 176.3 kB / 0.7696 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.8012, allocations: 419 kB / 0.77 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-05/0.8013, allocations: 109 kB / 0.7701 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.8013, allocations: 104.9 kB / 0.7702 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.557e-05/0.8014, allocations: 183.4 kB / 0.7704 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.8015, allocations: 176.3 kB / 0.7706 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.025e-05/0.8015, allocations: 188.2 kB / 0.7708 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.115e-05/0.8016, allocations: 176.3 kB / 0.7709 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.8017, allocations: 314.5 kB / 0.7712 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.8018, allocations: 186 kB / 0.7714 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.8019, allocations: 182.6 kB / 0.7716 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.802, allocations: 105.9 kB / 0.7717 GB, free: 368 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.802, allocations: 184.2 kB / 0.7718 GB, free: 176 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.8021, allocations: 101 kB / 0.7719 GB, free: 68 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.374e-05/0.8022, allocations: 105.4 kB / 0.772 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8022, allocations: 0 / 0.772 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001066/0.8032, allocations: 318.3 kB / 0.7723 GB, free: 15.67 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.001392/0.8046, allocations: 1.208 MB / 0.7735 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.8048, allocations: 44.52 kB / 0.7736 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8048, allocations: 0 / 0.7736 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.8048, allocations: 0 / 0.7736 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.8051, allocations: 0.5294 MB / 0.7741 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.8057, allocations: 337.4 kB / 0.7744 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.8059, allocations: 0.6887 MB / 0.7751 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.437e-05/0.8059, allocations: 0 / 0.7751 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.806, allocations: 18.11 kB / 0.7751 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.806, allocations: 4 kB / 0.7751 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.8321, allocations: 6.507 MB / 0.7815 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003536/0.8325, allocations: 282 kB / 0.7817 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.659, allocations: 7.547 kB / 0.7817 GB, free: 6.094 MB / 0.5261 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)