Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.0009386/0.0009386, allocations: 92.22 kB / 20.43 MB, free: 4.141 MB / 18.57 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.0009622/0.0009622, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 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.8878/0.8878, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.5777/0.5777, allocations: 114.9 MB / 375.7 MB, free: 7.652 MB / 346.7 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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.342e-05, allocations: 5.703 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003209/0.003223, allocations: 4.254 MB / 485.8 MB, free: 9.094 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.005524, allocations: 2.413 MB / 488.2 MB, free: 7.469 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.005728, allocations: 13.69 kB / 488.2 MB, free: 7.465 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.006838, allocations: 0.5191 MB / 488.8 MB, free: 7.246 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.007117, allocations: 262 kB / 489 MB, free: 7.062 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.007254, allocations: 142.7 kB / 489.2 MB, free: 6.969 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.007787, allocations: 0.8349 MB / 490 MB, free: 6.508 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.008042, allocations: 218.5 kB / 490.2 MB, free: 6.398 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004455/0.008487, allocations: 461.8 kB / 490.7 MB, free: 6.199 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.008758, allocations: 248.5 kB / 490.9 MB, free: 6.121 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.423e-05/0.008832, allocations: 77.47 kB / 491 MB, free: 6.117 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-05/0.008929, allocations: 75.91 kB / 491.1 MB, free: 6.117 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.009034, allocations: 176.8 kB / 491.2 MB, free: 6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.00935, allocations: 267.3 kB / 491.5 MB, free: 5.883 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.009765, allocations: 0.4996 MB / 492 MB, free: 5.629 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.009768, allocations: 2.281 kB / 492 MB, free: 5.629 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.009769, allocations: 0 / 492 MB, free: 5.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.00978, allocations: 0.7812 kB / 492 MB, free: 5.629 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001042/0.01082, allocations: 1.005 MB / 493 MB, free: 4.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.01086, allocations: 8.219 kB / 493 MB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.01101, allocations: 121.5 kB / 493.1 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.01146, allocations: 386.7 kB / 493.5 MB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.01149, allocations: 36.38 kB / 493.5 MB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.942e-05/0.01156, allocations: 47.69 kB / 493.6 MB, free: 4.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.01208, allocations: 315.5 kB / 493.9 MB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.01209, allocations: 0.9688 kB / 493.9 MB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.01213, allocations: 20.56 kB / 493.9 MB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.01214, allocations: 15 kB / 493.9 MB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.01252, allocations: 190.7 kB / 494.1 MB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01396, allocations: 1.195 MB / 495.3 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.01427, allocations: 212.7 kB / 495.5 MB, free: 3.555 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.01455, allocations: 197.6 kB / 495.7 MB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.01457, allocations: 7.781 kB / 495.7 MB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.01459, allocations: 38.73 kB / 495.8 MB, free: 3.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.0146, allocations: 3.938 kB / 495.8 MB, free: 3.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005503/0.01515, allocations: 329.9 kB / 496.1 MB, free: 3.348 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.01517, allocations: 56.34 kB / 496.1 MB, free: 3.285 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.01563, allocations: 481.2 kB / 496.6 MB, free: 19.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01565, allocations: 30.89 kB / 496.6 MB, free: 18.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.0158, allocations: 352.5 kB / 497 MB, free: 18.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.216e-05/0.01588, allocations: 154.1 kB / 497.1 MB, free: 18.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.01597, allocations: 66.45 kB / 497.2 MB, free: 18.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.01613, allocations: 0.5435 MB / 497.7 MB, free: 18.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.01625, allocations: 55.69 kB / 497.8 MB, free: 18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.01636, allocations: 66.38 kB / 497.9 MB, free: 17.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.01663, allocations: 163.8 kB / 498 MB, free: 17.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01663, allocations: 0.9688 kB / 498 MB, free: 17.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003941/0.01703, allocations: 284 kB / 498.3 MB, free: 17.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01704, allocations: 8.906 kB / 498.3 MB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01705, allocations: 1 kB / 498.3 MB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.01706, allocations: 2.531 kB / 498.3 MB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.01744, allocations: 128.1 kB / 498.4 MB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.01745, allocations: 2.5 kB / 498.4 MB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.01757, allocations: 33.11 kB / 498.5 MB, free: 17.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.01759, allocations: 8 kB / 498.5 MB, free: 17.77 MB / 426.7 MB 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 (46): * Single equations (assignments): 46 * 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.0001214/0.01771, allocations: 174.1 kB / 498.6 MB, free: 17.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.01779, allocations: 64.91 kB / 498.7 MB, free: 17.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.01786, allocations: 53.72 kB / 498.8 MB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01786, allocations: 4.781 kB / 498.8 MB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.01787, allocations: 1.219 kB / 498.8 MB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01787, allocations: 3.188 kB / 498.8 MB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.01829, allocations: 435.6 kB / 499.2 MB, free: 17.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.0183, allocations: 4 kB / 499.2 MB, free: 17.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.01867, allocations: 124.7 kB / 499.3 MB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.01867, allocations: 1.594 kB / 499.3 MB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.0187, allocations: 11.47 kB / 499.3 MB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.0187, allocations: 1.125 kB / 499.3 MB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.0187, allocations: 2.406 kB / 499.3 MB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005698/0.01927, allocations: 0.501 MB / 499.8 MB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.01934, allocations: 57.62 kB / 499.9 MB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.01938, allocations: 18.36 kB / 499.9 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.01952, allocations: 7.406 kB / 499.9 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.01957, allocations: 25.36 kB / 499.9 MB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.01959, allocations: 11.41 kB / 500 MB, free: 16.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002711/0.01986, allocations: 312.5 kB / 0.4885 GB, free: 16.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01986, allocations: 0 / 0.4885 GB, free: 16.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003788/0.02024, allocations: 149.2 kB / 0.4887 GB, free: 16.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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 8.501e-05/0.02032, allocations: 112.2 kB / 0.4888 GB, free: 16.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000327/0.02065, allocations: 201.6 kB / 0.489 GB, free: 16.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02065, allocations: 0.7812 kB / 0.489 GB, free: 16.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.02081, allocations: 129.9 kB / 0.4891 GB, free: 16.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.02127, allocations: 99.98 kB / 0.4892 GB, free: 16.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.02278, allocations: 1.027 MB / 0.4902 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.785e-05/0.02287, allocations: 126.5 kB / 0.4903 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.023, allocations: 49.16 kB / 0.4904 GB, free: 15.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.02309, allocations: 33.47 kB / 0.4904 GB, free: 15.79 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02309, allocations: 0 / 0.4904 GB, free: 15.79 MB / 426.7 MB Notification: Performance of Templates: time 0.009358/0.03245, allocations: 4.995 MB / 0.4953 GB, free: 13.68 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4840781381353736]