Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 178.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5733/0.5733, allocations: 91.98 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.2 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008657/0.0008659, allocations: 100.2 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.000324, allocations: 16 kB / 0.4984 GB, free: 42.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 72.31 MB / 0.569 GB, free: 1.801 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4998/0.6491, allocations: 122.5 MB / 0.6886 GB, free: 13.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.6494, allocations: 123.9 kB / 0.6887 GB, free: 13.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04638/0.6958, allocations: 15.48 MB / 0.7038 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6958, allocations: 0 / 0.7038 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.6959, allocations: 4 kB / 0.7038 GB, free: 14.3 MB / 0.4948 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.0008881/0.6968, allocations: 0.5729 MB / 0.7044 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.6968, allocations: 8.031 kB / 0.7044 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.6969, allocations: 105.8 kB / 0.7045 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.6969, allocations: 87.17 kB / 0.7046 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.6971, allocations: 250.2 kB / 0.7048 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.6971, allocations: 150.6 kB / 0.705 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.6972, allocations: 154.6 kB / 0.7051 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.152e-05/0.6973, allocations: 109 kB / 0.7052 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.6973, allocations: 79.23 kB / 0.7053 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.6974, allocations: 154.6 kB / 0.7055 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-05/0.6974, allocations: 150.6 kB / 0.7056 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.39e-05/0.6975, allocations: 154.6 kB / 0.7057 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.6978, allocations: 465.9 kB / 0.7062 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.969e-05/0.6978, allocations: 165.1 kB / 0.7063 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.6979, allocations: 83.27 kB / 0.7064 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.6979, allocations: 109.8 kB / 0.7065 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6979, allocations: 0 / 0.7065 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 7.847e-05/0.698, allocations: 41.44 kB / 0.7066 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.6981, allocations: 134.7 kB / 0.7067 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.6982, allocations: 122.5 kB / 0.7068 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.6982, allocations: 25.7 kB / 0.7068 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.6983, allocations: 88.14 kB / 0.7069 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.6983, allocations: 0 / 0.7069 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.6983, allocations: 4 kB / 0.7069 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6984, allocations: 318.8 kB / 0.7072 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.6984, allocations: 4 kB / 0.7072 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.482e-05/0.6984, allocations: 8 kB / 0.7072 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.6985, allocations: 4 kB / 0.7072 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6985, allocations: 0 / 0.7072 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001172/0.6986, allocations: 53.55 kB / 0.7073 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.6986, allocations: 11.92 kB / 0.7073 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.6986, allocations: 4 kB / 0.7073 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6987, allocations: 64 / 0.7073 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.6987, allocations: 4 kB / 0.7073 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.6987, allocations: 3.953 kB / 0.7073 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.6987, allocations: 4 kB / 0.7073 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.6987, allocations: 0 / 0.7073 GB, free: 10.5 MB / 0.4948 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 9.407e-05/0.6988, allocations: 185.1 kB / 0.7075 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.6989, allocations: 108.9 kB / 0.7076 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.699, allocations: 123.6 kB / 0.7077 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.653e-05/0.699, allocations: 180.3 kB / 0.7079 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-05/0.6991, allocations: 180.3 kB / 0.7081 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.448e-05/0.6991, allocations: 184.2 kB / 0.7082 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.6993, allocations: 413.2 kB / 0.7086 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.988e-05/0.6994, allocations: 104.9 kB / 0.7087 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.6994, allocations: 105 kB / 0.7088 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.285e-05/0.6995, allocations: 188.3 kB / 0.709 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.6995, allocations: 180.2 kB / 0.7092 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.238e-05/0.6996, allocations: 176.3 kB / 0.7094 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-05/0.6997, allocations: 188.2 kB / 0.7095 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.6998, allocations: 311.7 kB / 0.7098 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.6999, allocations: 182.1 kB / 0.71 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.6999, allocations: 188.2 kB / 0.7102 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.7, allocations: 104.9 kB / 0.7103 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.7001, allocations: 176.3 kB / 0.7105 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.7001, allocations: 109 kB / 0.7106 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.217e-05/0.7002, allocations: 104.8 kB / 0.7107 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7002, allocations: 0 / 0.7107 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000861/0.701, allocations: 327.4 kB / 0.711 GB, free: 6.543 MB / 0.4948 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.001239/0.7023, allocations: 1.187 MB / 0.7121 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.99e-05/0.7024, allocations: 41.7 kB / 0.7122 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7024, allocations: 0 / 0.7122 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.7024, allocations: 3.938 kB / 0.7122 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.7027, allocations: 0.5302 MB / 0.7127 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.7034, allocations: 0.6072 MB / 0.7133 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.7037, allocations: 0.6965 MB / 0.714 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.352e-05/0.7037, allocations: 0 / 0.714 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.7037, allocations: 11.44 kB / 0.714 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/0.7037, allocations: 0 / 0.714 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.7223, allocations: 6.407 MB / 0.7202 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.7225, allocations: 249.2 kB / 0.7205 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.449, allocations: 1.875 kB / 0.7205 GB, free: 12.85 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)