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.InternalResistancesTwoUTube.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.0007832/0.0007832, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009279/0.0009279, allocations: 206.6 kB / 22.24 MB, free: 3.582 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 1.006/1.006, allocations: 230.6 MB / 256 MB, free: 9.621 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.7931/0.7931, allocations: 203.8 MB / 0.5042 GB, free: 10.5 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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.0009057/0.0009057, allocations: 69.92 kB / 0.7183 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.5199, allocations: 102 MB / 0.8179 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001857/0.5217, allocations: 1.435 MB / 0.8193 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003617/0.5254, allocations: 2.683 MB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.5254, allocations: 5.344 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.5254, allocations: 1.688 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.657e-05/0.5255, allocations: 24.47 kB / 0.8219 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.5282, allocations: 1.633 MB / 0.8235 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.5282, allocations: 46.61 kB / 0.8236 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.5283, allocations: 2.156 kB / 0.8236 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.5283, allocations: 14.58 kB / 0.8236 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.6e-05/0.5283, allocations: 13.83 kB / 0.8236 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.5283, allocations: 0 / 0.8236 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.5302, allocations: 1.489 MB / 0.825 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.5302, allocations: 6.531 kB / 0.8251 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.5303, allocations: 15.25 kB / 0.8251 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.5315, allocations: 1.106 MB / 0.8262 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5315, allocations: 1.281 kB / 0.8262 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5315, allocations: 0 / 0.8262 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5315, allocations: 0 / 0.8262 GB, free: 12.83 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.0004458/0.5319, allocations: 476.2 kB / 0.8266 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.532, allocations: 9.688 kB / 0.8266 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.532, allocations: 106 kB / 0.8267 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.532, allocations: 83.86 kB / 0.8268 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.74e-05/0.5321, allocations: 202.7 kB / 0.827 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.5322, allocations: 151.8 kB / 0.8271 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.5322, allocations: 156.4 kB / 0.8273 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.116e-05/0.5323, allocations: 114.9 kB / 0.8274 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.5323, allocations: 75.28 kB / 0.8275 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.5323, allocations: 152.1 kB / 0.8276 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.5324, allocations: 151.3 kB / 0.8278 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.508e-05/0.5324, allocations: 152 kB / 0.8279 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.5326, allocations: 432.6 kB / 0.8283 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.672e-05/0.5327, allocations: 175.5 kB / 0.8285 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.5327, allocations: 84.98 kB / 0.8286 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.5327, allocations: 79.22 kB / 0.8286 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.5327, allocations: 112.1 kB / 0.8287 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 6.82e-07/0.5327, allocations: 0 / 0.8287 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.564e-05/0.5328, allocations: 32.95 kB / 0.8288 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.5328, allocations: 128.8 kB / 0.8289 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.533, allocations: 135.4 kB / 0.829 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.533, allocations: 30.77 kB / 0.8291 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.533, allocations: 92.28 kB / 0.8291 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.533, allocations: 0 / 0.8291 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.533, allocations: 21.34 kB / 0.8292 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.5331, allocations: 318.9 kB / 0.8295 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.5331, allocations: 8.328 kB / 0.8295 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.442e-05/0.5331, allocations: 8.078 kB / 0.8295 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.5332, allocations: 15.84 kB / 0.8295 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5332, allocations: 0 / 0.8295 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.542e-05/0.5333, allocations: 53.38 kB / 0.8295 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5333, allocations: 7.047 kB / 0.8296 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.5333, allocations: 2.875 kB / 0.8296 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5333, allocations: 3.938 kB / 0.8296 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-06/0.5333, allocations: 2.047 kB / 0.8296 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.5333, allocations: 64 / 0.8296 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.5333, allocations: 9.281 kB / 0.8296 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.5333, allocations: 2.078 kB / 0.8296 GB, free: 9.344 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 6.116e-05/0.5334, allocations: 183.5 kB / 0.8298 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.5335, allocations: 111.8 kB / 0.8299 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.5335, allocations: 117.6 kB / 0.83 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/0.5335, allocations: 178.1 kB / 0.8301 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-05/0.5336, allocations: 182.5 kB / 0.8303 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.681e-05/0.5336, allocations: 182.3 kB / 0.8305 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.5337, allocations: 389.2 kB / 0.8309 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.228e-05/0.5338, allocations: 107.5 kB / 0.831 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.5338, allocations: 106.8 kB / 0.8311 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-05/0.5338, allocations: 178 kB / 0.8312 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.5339, allocations: 182.3 kB / 0.8314 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.633e-05/0.5339, allocations: 186.1 kB / 0.8316 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.986e-05/0.534, allocations: 182.5 kB / 0.8318 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.428e-05/0.5341, allocations: 307.9 kB / 0.8321 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.5341, allocations: 116.4 kB / 0.8322 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.5341, allocations: 179 kB / 0.8323 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.655e-05/0.5342, allocations: 111 kB / 0.8324 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.5342, allocations: 179.3 kB / 0.8326 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.5343, allocations: 111.1 kB / 0.8327 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.5343, allocations: 107.6 kB / 0.8328 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5343, allocations: 0 / 0.8328 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004557/0.5348, allocations: 298.1 kB / 0.8331 GB, free: 5.82 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.0009228/0.5357, allocations: 1.184 MB / 0.8343 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.028e-05/0.5358, allocations: 40.06 kB / 0.8343 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5358, allocations: 3.938 kB / 0.8343 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.5358, allocations: 5.062 kB / 0.8343 GB, free: 4.859 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.536, allocations: 463.9 kB / 0.8347 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.5371, allocations: 1.605 MB / 0.8363 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.059e-05/0.5372, allocations: 70.64 kB / 0.8364 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.172e-05/0.5372, allocations: 8.5 kB / 0.8364 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.5372, allocations: 19.14 kB / 0.8364 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.5372, allocations: 0 / 0.8364 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.5586, allocations: 7.825 MB / 0.8441 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/7.148, allocations: 2.719 kB / 0.8441 GB, free: 15.85 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.21164541784674] Failed to read output from testmodel.py, exit status != 0: 7.229181917384267 7.243302334 6.709153539 Calling exit ...