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.InternalResistancesOneUTube.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.001201/0.001201, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001425/0.001425, allocations: 217.7 kB / 22.25 MB, free: 3.699 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.9919/0.9919, allocations: 230.6 MB / 256 MB, free: 9.789 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.7827/0.7827, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.0009549/0.0009549, allocations: 74.27 kB / 0.7183 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5197, allocations: 102 MB / 0.818 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001805/0.5215, allocations: 1.457 MB / 0.8194 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003481/0.525, allocations: 2.966 MB / 0.8223 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.525, allocations: 0 / 0.8223 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.525, allocations: 5.203 kB / 0.8223 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.287e-05/0.5251, allocations: 16 kB / 0.8223 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.5276, allocations: 1.675 MB / 0.8239 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.83e-05/0.5277, allocations: 40.48 kB / 0.824 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.5277, allocations: 3.453 kB / 0.824 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.153e-05/0.5277, allocations: 17.53 kB / 0.824 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/0.5278, allocations: 13.02 kB / 0.824 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.5278, allocations: 5.062 kB / 0.824 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.53, allocations: 1.719 MB / 0.8257 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.53, allocations: 6.562 kB / 0.8257 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.53, allocations: 20.92 kB / 0.8257 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.5314, allocations: 1.118 MB / 0.8268 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5314, allocations: 4.547 kB / 0.8268 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5314, allocations: 0 / 0.8268 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.5314, allocations: 0 / 0.8268 GB, free: 12.43 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.0004905/0.5319, allocations: 472.1 kB / 0.8273 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5319, allocations: 10.33 kB / 0.8273 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.532, allocations: 107.2 kB / 0.8274 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.532, allocations: 87.42 kB / 0.8274 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.5321, allocations: 190.8 kB / 0.8276 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.5322, allocations: 156.3 kB / 0.8278 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/0.5322, allocations: 151.5 kB / 0.8279 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.095e-05/0.5323, allocations: 114.2 kB / 0.828 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.5323, allocations: 75.94 kB / 0.8281 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.5324, allocations: 151.8 kB / 0.8282 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.5324, allocations: 150.6 kB / 0.8284 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.678e-05/0.5325, allocations: 155.6 kB / 0.8285 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.5327, allocations: 437.1 kB / 0.829 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.5328, allocations: 173.8 kB / 0.8291 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.5328, allocations: 81.45 kB / 0.8292 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.5328, allocations: 83.16 kB / 0.8293 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.5329, allocations: 111.7 kB / 0.8294 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.5329, allocations: 0 / 0.8294 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.657e-05/0.5329, allocations: 36.45 kB / 0.8294 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.533, allocations: 128.7 kB / 0.8295 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.5331, allocations: 131.5 kB / 0.8297 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.5331, allocations: 26.22 kB / 0.8297 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.5331, allocations: 88.84 kB / 0.8298 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.5331, allocations: 0 / 0.8298 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.5332, allocations: 23.58 kB / 0.8298 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003539/0.5335, allocations: 319 kB / 0.8301 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.5336, allocations: 7.734 kB / 0.8301 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.416e-05/0.5336, allocations: 3.031 kB / 0.8301 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.5336, allocations: 15.78 kB / 0.8301 GB, free: 9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5336, allocations: 0 / 0.8301 GB, free: 9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001064/0.5337, allocations: 53.8 kB / 0.8302 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.5337, allocations: 5.281 kB / 0.8302 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.5338, allocations: 3.344 kB / 0.8302 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5338, allocations: 4.062 kB / 0.8302 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.5338, allocations: 0.6562 kB / 0.8302 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5338, allocations: 1.156 kB / 0.8302 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.577e-05/0.5338, allocations: 3.938 kB / 0.8302 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.5338, allocations: 1.219 kB / 0.8302 GB, free: 8.949 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.153e-05/0.5339, allocations: 188.5 kB / 0.8304 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.5339, allocations: 117 kB / 0.8305 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.5339, allocations: 119.2 kB / 0.8306 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/0.534, allocations: 178.5 kB / 0.8308 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.16e-05/0.534, allocations: 182.2 kB / 0.831 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.951e-05/0.5341, allocations: 186.4 kB / 0.8311 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.5342, allocations: 382.9 kB / 0.8315 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/0.5342, allocations: 106.6 kB / 0.8316 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.5343, allocations: 106.8 kB / 0.8317 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.106e-05/0.5343, allocations: 182 kB / 0.8319 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.5344, allocations: 182.3 kB / 0.832 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.901e-05/0.5344, allocations: 176.8 kB / 0.8322 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-05/0.5344, allocations: 182.2 kB / 0.8324 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.406e-05/0.5345, allocations: 323.4 kB / 0.8327 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.5346, allocations: 104.3 kB / 0.8328 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.5346, allocations: 178.8 kB / 0.833 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.5347, allocations: 107 kB / 0.8331 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.5347, allocations: 176.9 kB / 0.8332 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.5348, allocations: 110.9 kB / 0.8333 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.5348, allocations: 103.5 kB / 0.8334 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5348, allocations: 0 / 0.8334 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005448/0.5354, allocations: 290.5 kB / 0.8337 GB, free: 5.426 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.001042/0.5364, allocations: 1.187 MB / 0.8349 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.098e-05/0.5365, allocations: 38.73 kB / 0.8349 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.5365, allocations: 0 / 0.8349 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.5365, allocations: 0 / 0.8349 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.5368, allocations: 469.7 kB / 0.8354 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.5378, allocations: 1.581 MB / 0.8369 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.538, allocations: 0.6857 MB / 0.8376 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.5e-05/0.538, allocations: 1.25 kB / 0.8376 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.5381, allocations: 18.17 kB / 0.8376 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.5381, allocations: 5.469 kB / 0.8376 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.5619, allocations: 7.159 MB / 0.8446 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.337/6.899, allocations: 6.125 kB / 0.8446 GB, free: 15.38 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.892358086071908] Failed to read output from testmodel.py, exit status != 0: 6.979201857000589 6.987528857 6.454410861 Calling exit ...