Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.00131/0.00131, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001491/0.001491, allocations: 211.9 kB / 22.99 MB, free: 4.977 MB / 14.72 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9502/0.9502, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002068/0.002068, allocations: 62.38 kB / 0.6411 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.168, allocations: 89.19 MB / 0.7282 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004362/0.1724, allocations: 2.82 MB / 0.731 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002942/0.1753, allocations: 1.97 MB / 0.7329 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.1755, allocations: 4 kB / 0.7329 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.1769, allocations: 473.8 kB / 0.7333 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.1772, allocations: 142.9 kB / 0.7335 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.1774, allocations: 63.88 kB / 0.7335 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.1778, allocations: 445.6 kB / 0.734 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.178, allocations: 99.75 kB / 0.7341 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.1783, allocations: 163.4 kB / 0.7342 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1786, allocations: 163.1 kB / 0.7344 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.1786, allocations: 36 kB / 0.7344 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.865e-05/0.1787, allocations: 40 kB / 0.7344 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1788, allocations: 91.69 kB / 0.7345 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.179, allocations: 175.1 kB / 0.7347 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.1795, allocations: 0.5486 MB / 0.7352 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1795, allocations: 0 / 0.7352 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1795, allocations: 0 / 0.7352 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.1795, allocations: 0 / 0.7352 GB, free: 9.703 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001034/0.1806, allocations: 0.6329 MB / 0.7359 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.1806, allocations: 12.03 kB / 0.7359 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.38e-05/0.1807, allocations: 58.66 kB / 0.7359 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.952e-05/0.1808, allocations: 52.61 kB / 0.736 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.1813, allocations: 316.5 kB / 0.7363 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.1813, allocations: 20.56 kB / 0.7363 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.1814, allocations: 20 kB / 0.7363 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.1818, allocations: 207.3 kB / 0.7365 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1818, allocations: 0 / 0.7365 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.1818, allocations: 8 kB / 0.7365 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1818, allocations: 11.94 kB / 0.7365 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.1822, allocations: 157.7 kB / 0.7367 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.1834, allocations: 0.6862 MB / 0.7374 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.1837, allocations: 142.6 kB / 0.7375 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.1839, allocations: 100.8 kB / 0.7376 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.1839, allocations: 3.938 kB / 0.7376 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1839, allocations: 46.5 kB / 0.7376 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.273e-06/0.1839, allocations: 0 / 0.7376 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0005985/0.1845, allocations: 256.1 kB / 0.7379 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1846, allocations: 51.41 kB / 0.7379 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/0.1851, allocations: 421.7 kB / 0.7383 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1851, allocations: 25.7 kB / 0.7384 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1853, allocations: 208.5 kB / 0.7385 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.1853, allocations: 67.42 kB / 0.7386 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.1854, allocations: 29.72 kB / 0.7386 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1855, allocations: 346.8 kB / 0.739 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1857, allocations: 55.97 kB / 0.739 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.1858, allocations: 59.97 kB / 0.7391 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.1861, allocations: 138.6 kB / 0.7392 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1861, allocations: 0 / 0.7392 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004026/0.1865, allocations: 214.7 kB / 0.7394 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1865, allocations: 4 kB / 0.7394 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1865, allocations: 0 / 0.7394 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1866, allocations: 4 kB / 0.7394 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.1868, allocations: 63.83 kB / 0.7395 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1868, allocations: 0 / 0.7395 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.187, allocations: 19.89 kB / 0.7395 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.187, allocations: 4 kB / 0.7395 GB, free: 5.129 MB / 0.5606 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001617/0.1871, allocations: 161.8 kB / 0.7397 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.1872, allocations: 39.7 kB / 0.7397 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.1873, allocations: 39.53 kB / 0.7397 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1873, allocations: 7.984 kB / 0.7397 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1873, allocations: 4 kB / 0.7398 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1873, allocations: 0 / 0.7398 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.1877, allocations: 308.5 kB / 0.74 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1877, allocations: 3.938 kB / 0.7401 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.1879, allocations: 55.91 kB / 0.7401 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.188, allocations: 4 kB / 0.7401 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.188, allocations: 0 / 0.7401 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.188, allocations: 0 / 0.7401 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.188, allocations: 0 / 0.7401 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000639/0.1886, allocations: 383.1 kB / 0.7405 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/0.1887, allocations: 55.59 kB / 0.7405 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.1888, allocations: 4 kB / 0.7405 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.1889, allocations: 8 kB / 0.7405 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.189, allocations: 11.97 kB / 0.7405 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.189, allocations: 8 kB / 0.7406 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003467/0.1893, allocations: 299.1 kB / 0.7408 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1893, allocations: 0 / 0.7408 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00031/0.1896, allocations: 71.89 kB / 0.7409 GB, free: 3.625 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0009471/0.1906, allocations: 0.9251 MB / 0.7418 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003755/0.191, allocations: 138.3 kB / 0.7419 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.191, allocations: 0 / 0.7419 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1911, allocations: 75.89 kB / 0.742 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.1917, allocations: 98.83 kB / 0.7421 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/0.1965, allocations: 3.492 MB / 0.7455 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.1967, allocations: 190.5 kB / 0.7457 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.1968, allocations: 38.95 kB / 0.7457 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.197, allocations: 119.4 kB / 0.7459 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.197, allocations: 3.938 kB / 0.7459 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03991/0.2369, allocations: 8.953 MB / 0.7546 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.54, allocations: 1.562 kB / 0.7546 GB, free: 5.781 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.512798082083464] Failed to read output from testmodel.py, exit status != 0: 11.655986120924354 11.944923097 11.762851369 Calling exit ...