Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008277/0.0008277, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008789/0.0008789, allocations: 208.6 kB / 22.25 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9597/0.9597, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7932/0.7932, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.09 kB / 0.7183 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5294, allocations: 102 MB / 0.8179 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001901/0.5313, allocations: 1.44 MB / 0.8193 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003704/0.535, allocations: 2.687 MB / 0.8219 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.535, allocations: 0 / 0.8219 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.5351, allocations: 8.141 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.5351, allocations: 14.06 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.5385, allocations: 1.637 MB / 0.8235 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.736e-05/0.5386, allocations: 45.23 kB / 0.8236 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.5386, allocations: 2.328 kB / 0.8236 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.5386, allocations: 15.03 kB / 0.8236 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.5387, allocations: 18.33 kB / 0.8236 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.5387, allocations: 1.094 kB / 0.8236 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.5408, allocations: 1.487 MB / 0.8251 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.5409, allocations: 5.859 kB / 0.8251 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.5409, allocations: 21.03 kB / 0.8251 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.5424, allocations: 1.098 MB / 0.8262 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5424, allocations: 0 / 0.8262 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5424, allocations: 0 / 0.8262 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.5424, allocations: 0 / 0.8262 GB, free: 12.8 MB / 0.6198 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.000738/0.5431, allocations: 475.4 kB / 0.8266 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5432, allocations: 10.31 kB / 0.8266 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.5432, allocations: 106.6 kB / 0.8267 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.5433, allocations: 78.78 kB / 0.8268 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.5434, allocations: 207.5 kB / 0.827 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.5435, allocations: 152.8 kB / 0.8271 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.5435, allocations: 155.7 kB / 0.8273 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.09e-05/0.5436, allocations: 106.4 kB / 0.8274 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.5436, allocations: 76.47 kB / 0.8275 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.5436, allocations: 151.4 kB / 0.8276 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.5437, allocations: 151.8 kB / 0.8277 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.5437, allocations: 151.7 kB / 0.8279 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.544, allocations: 435.6 kB / 0.8283 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.717e-05/0.544, allocations: 176.6 kB / 0.8285 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.544, allocations: 84.08 kB / 0.8286 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.5441, allocations: 80.56 kB / 0.8286 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.5441, allocations: 115.8 kB / 0.8287 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.5441, allocations: 0 / 0.8287 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.019e-05/0.5442, allocations: 36.8 kB / 0.8288 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.5442, allocations: 128.9 kB / 0.8289 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.5443, allocations: 132.5 kB / 0.829 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.5443, allocations: 25.7 kB / 0.8291 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.5444, allocations: 92.7 kB / 0.8291 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.5444, allocations: 0 / 0.8291 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.5444, allocations: 16.55 kB / 0.8292 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.5445, allocations: 319.6 kB / 0.8295 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.5445, allocations: 3.297 kB / 0.8295 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.5445, allocations: 7.641 kB / 0.8295 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.5446, allocations: 17.09 kB / 0.8295 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5446, allocations: 64 / 0.8295 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001022/0.5447, allocations: 61.34 kB / 0.8295 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.5447, allocations: 5.875 kB / 0.8296 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.5447, allocations: 3.547 kB / 0.8296 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.5447, allocations: 0 / 0.8296 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.5447, allocations: 1.219 kB / 0.8296 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5447, allocations: 0.5625 kB / 0.8296 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.5447, allocations: 5.5 kB / 0.8296 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.5447, allocations: 9.578 kB / 0.8296 GB, free: 9.32 MB / 0.6198 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.044e-05/0.5448, allocations: 188.6 kB / 0.8298 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.5448, allocations: 116.6 kB / 0.8299 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.5449, allocations: 112.5 kB / 0.83 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/0.5449, allocations: 178.1 kB / 0.8301 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.68e-05/0.545, allocations: 190.6 kB / 0.8303 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.153e-05/0.545, allocations: 177.9 kB / 0.8305 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.5452, allocations: 385.4 kB / 0.8309 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.221e-05/0.5452, allocations: 107.1 kB / 0.831 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.5452, allocations: 102.7 kB / 0.8311 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-05/0.5453, allocations: 190.3 kB / 0.8312 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/0.5453, allocations: 178.1 kB / 0.8314 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.214e-05/0.5454, allocations: 178.3 kB / 0.8316 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.383e-05/0.5454, allocations: 182 kB / 0.8318 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.5455, allocations: 316.1 kB / 0.8321 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.5456, allocations: 112.8 kB / 0.8322 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.5456, allocations: 183.2 kB / 0.8323 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.868e-05/0.5457, allocations: 103 kB / 0.8324 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.5457, allocations: 178.5 kB / 0.8326 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.5457, allocations: 118.7 kB / 0.8327 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.32e-05/0.5458, allocations: 100.3 kB / 0.8328 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5458, allocations: 4 kB / 0.8328 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006763/0.5465, allocations: 294.4 kB / 0.8331 GB, free: 5.797 MB / 0.6198 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.5475, allocations: 1.192 MB / 0.8343 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.446e-05/0.5476, allocations: 42.61 kB / 0.8343 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5476, allocations: 4.062 kB / 0.8343 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.5476, allocations: 1.188 kB / 0.8343 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.5479, allocations: 462 kB / 0.8348 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.549, allocations: 1.619 MB / 0.8363 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.55e-05/0.549, allocations: 67.34 kB / 0.8364 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.343e-05/0.549, allocations: 0.5 kB / 0.8364 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.5491, allocations: 23.33 kB / 0.8364 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.5491, allocations: 0.5312 kB / 0.8364 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.5723, allocations: 7.81 MB / 0.844 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.737/7.31, allocations: 8.734 kB / 0.8441 GB, free: 15.82 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.204097845125943] Failed to read output from testmodel.py, exit status != 0: 7.3896843660622835 7.403714775 6.858828734 Calling exit ...