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.0008106/0.0008106, 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.0008353/0.0008353, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.9108/0.9108, allocations: 230.6 MB / 256 MB, free: 9.801 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.7624/0.7624, allocations: 203.8 MB / 0.5042 GB, free: 10.62 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.0008873/0.0008873, allocations: 67.86 kB / 0.7183 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5162/0.517, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002003/0.519, allocations: 1.474 MB / 0.8194 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004/0.523, allocations: 3.001 MB / 0.8223 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.5231, allocations: 3.812 kB / 0.8223 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.5231, allocations: 5.391 kB / 0.8223 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.5232, allocations: 17.92 kB / 0.8223 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.5268, allocations: 1.708 MB / 0.824 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.827e-05/0.5269, allocations: 42.81 kB / 0.8241 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.5269, allocations: 3.141 kB / 0.8241 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.527, allocations: 13.97 kB / 0.8241 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.527, allocations: 21.66 kB / 0.8241 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.527, allocations: 1.344 kB / 0.8241 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.53, allocations: 1.768 MB / 0.8258 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.53, allocations: 6.75 kB / 0.8258 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.5301, allocations: 19.59 kB / 0.8258 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.5328, allocations: 1.155 MB / 0.827 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.5329, allocations: 0.6562 kB / 0.827 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.427e-06/0.5329, allocations: 1.375 kB / 0.827 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.5329, allocations: 0 / 0.827 GB, free: 12.36 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.001043/0.5339, allocations: 470.9 kB / 0.8274 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.534, allocations: 9.344 kB / 0.8274 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.534, allocations: 106.7 kB / 0.8275 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.066e-05/0.5341, allocations: 86.45 kB / 0.8276 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.5342, allocations: 197.9 kB / 0.8278 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.5343, allocations: 150.9 kB / 0.8279 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.5343, allocations: 154.9 kB / 0.8281 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.126e-05/0.5344, allocations: 107.1 kB / 0.8282 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.5344, allocations: 75.28 kB / 0.8283 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.5345, allocations: 159.2 kB / 0.8284 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.731e-05/0.5345, allocations: 152.1 kB / 0.8286 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.5346, allocations: 150.6 kB / 0.8287 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.5349, allocations: 433.8 kB / 0.8291 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.026e-05/0.535, allocations: 175.4 kB / 0.8293 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.535, allocations: 84.08 kB / 0.8294 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.535, allocations: 79.22 kB / 0.8294 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.5351, allocations: 112 kB / 0.8296 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.5351, allocations: 0 / 0.8296 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 9.234e-05/0.5352, allocations: 32.45 kB / 0.8296 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.5352, allocations: 131.8 kB / 0.8297 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.5354, allocations: 134.1 kB / 0.8298 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.5354, allocations: 26.8 kB / 0.8299 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.5355, allocations: 92.64 kB / 0.8299 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-06/0.5355, allocations: 0 / 0.8299 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.5355, allocations: 20.5 kB / 0.83 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5356, allocations: 314.5 kB / 0.8303 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.5357, allocations: 11.94 kB / 0.8303 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.5357, allocations: 7 kB / 0.8303 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.5357, allocations: 16.67 kB / 0.8303 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5357, allocations: 0 / 0.8303 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000146/0.5359, allocations: 50.27 kB / 0.8304 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.5359, allocations: 9.594 kB / 0.8304 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/0.5359, allocations: 4.797 kB / 0.8304 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.536, allocations: 0 / 0.8304 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-06/0.536, allocations: 4.062 kB / 0.8304 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.536, allocations: 4.594 kB / 0.8304 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.536, allocations: 13.33 kB / 0.8304 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.536, allocations: 1.156 kB / 0.8304 GB, free: 8.867 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 0.0001021/0.5361, allocations: 187.4 kB / 0.8306 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.5361, allocations: 112.1 kB / 0.8307 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.5362, allocations: 113.4 kB / 0.8308 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-05/0.5362, allocations: 182.2 kB / 0.831 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.237e-05/0.5363, allocations: 184.9 kB / 0.8311 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.535e-05/0.5363, allocations: 178.7 kB / 0.8313 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.5368, allocations: 392.3 kB / 0.8317 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/0.5368, allocations: 102.8 kB / 0.8318 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.5368, allocations: 106.9 kB / 0.8319 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.378e-05/0.5369, allocations: 182.5 kB / 0.832 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/0.537, allocations: 180.7 kB / 0.8322 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.719e-05/0.537, allocations: 182.1 kB / 0.8324 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.449e-05/0.5371, allocations: 178.5 kB / 0.8326 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.5372, allocations: 307.3 kB / 0.8329 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.5373, allocations: 128.2 kB / 0.833 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.5373, allocations: 178.9 kB / 0.8332 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.542e-05/0.5374, allocations: 101.6 kB / 0.8332 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.5374, allocations: 182.4 kB / 0.8334 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.5375, allocations: 107.5 kB / 0.8335 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.5376, allocations: 102.9 kB / 0.8336 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5376, allocations: 4 kB / 0.8336 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001458/0.539, allocations: 295.7 kB / 0.8339 GB, free: 5.344 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.001721/0.5407, allocations: 1.194 MB / 0.8351 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.5409, allocations: 34.98 kB / 0.8351 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5409, allocations: 1.219 kB / 0.8351 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/0.5409, allocations: 0 / 0.8351 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.5413, allocations: 467.5 kB / 0.8356 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.5427, allocations: 1.61 MB / 0.8371 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.5429, allocations: 0.6835 MB / 0.8378 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.188e-05/0.5429, allocations: 0.5625 kB / 0.8378 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.543, allocations: 14.86 kB / 0.8378 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.543, allocations: 0 / 0.8378 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.57, allocations: 7.371 MB / 0.845 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.633/7.203, allocations: 2.625 kB / 0.845 GB, free: 15.15 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: 9.961686752038077] Failed to read output from testmodel.py, exit status != 0: 7.281403287081048 7.29092846 6.755994359 Calling exit ...