Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.0007692/0.0007692, allocations: 80.53 kB / 19.93 MB, free: 4.605 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.0007816/0.0007816, allocations: 181.2 kB / 23.22 MB, free: 1.316 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.8679/0.8679, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001423/0.001423, allocations: 245.8 kB / 260.2 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6839/0.6839, allocations: 138.4 MB / 455.1 MB, free: 29.97 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.6475 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.029e-05/4.229e-05, allocations: 4.953 kB / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.2451/0.2451, allocations: 4.376 MB / 0.6518 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.2459, allocations: 0.7551 MB / 0.6525 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.2459, allocations: 1.844 kB / 0.6525 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.2461, allocations: 28.89 kB / 0.6526 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.101e-05/0.2461, allocations: 43.38 kB / 0.6526 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.2466, allocations: 175.1 kB / 0.6528 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.2468, allocations: 184.8 kB / 0.653 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.709e-05/0.2469, allocations: 8.875 kB / 0.653 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.2471, allocations: 109.9 kB / 0.6531 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.2471, allocations: 63.98 kB / 0.6531 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.2472, allocations: 17.92 kB / 0.6532 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.2474, allocations: 140 kB / 0.6533 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.2474, allocations: 33.7 kB / 0.6533 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.2475, allocations: 55.42 kB / 0.6534 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.2478, allocations: 255.6 kB / 0.6536 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2478, allocations: 1.312 kB / 0.6536 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2478, allocations: 0 / 0.6536 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2478, allocations: 0 / 0.6536 GB, free: 54.29 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005804/0.2484, allocations: 408.4 kB / 0.654 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.2484, allocations: 9.969 kB / 0.654 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.2485, allocations: 15.98 kB / 0.654 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/0.2486, allocations: 134.6 kB / 0.6542 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2486, allocations: 11.09 kB / 0.6542 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.2486, allocations: 12.25 kB / 0.6542 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.2488, allocations: 118.1 kB / 0.6543 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2488, allocations: 3.562 kB / 0.6543 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2488, allocations: 4.125 kB / 0.6543 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.2489, allocations: 2.844 kB / 0.6543 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.2491, allocations: 141.1 kB / 0.6544 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.2497, allocations: 379.1 kB / 0.6548 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.2498, allocations: 114.1 kB / 0.6549 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.25, allocations: 68.62 kB / 0.655 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00063/0.2506, allocations: 475.8 kB / 0.6554 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.2506, allocations: 36.44 kB / 0.6555 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.2506, allocations: 0 / 0.6555 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12): time 0.0004108/0.251, allocations: 211.2 kB / 0.6557 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.251, allocations: 54.48 kB / 0.6557 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.855e-05/0.2511, allocations: 164.8 kB / 0.6559 GB, free: 52.76 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.2511, allocations: 32.62 kB / 0.6559 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.2512, allocations: 110.7 kB / 0.656 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.2512, allocations: 43.53 kB / 0.6561 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.2513, allocations: 48.86 kB / 0.6561 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.651e-05/0.2513, allocations: 326.3 kB / 0.6564 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2514, allocations: 79.73 kB / 0.6565 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2516, allocations: 105.6 kB / 0.6566 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.2518, allocations: 170.3 kB / 0.6567 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2518, allocations: 6.781 kB / 0.6568 GB, free: 52.08 MB / 0.5573 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003229/0.2521, allocations: 252.5 kB / 0.657 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2521, allocations: 5.031 kB / 0.657 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.2521, allocations: 6.25 kB / 0.657 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2522, allocations: 6.062 kB / 0.657 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.2523, allocations: 54.62 kB / 0.6571 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.2523, allocations: 1.938 kB / 0.6571 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.2524, allocations: 38.58 kB / 0.6571 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.2524, allocations: 7.969 kB / 0.6571 GB, free: 51.95 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 5.901e-05/0.2525, allocations: 125 kB / 0.6572 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.2525, allocations: 14.95 kB / 0.6572 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.2528, allocations: 177.9 kB / 0.6574 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2528, allocations: 1.75 kB / 0.6574 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2528, allocations: 0 / 0.6574 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2528, allocations: 0.6094 kB / 0.6574 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.2529, allocations: 156.7 kB / 0.6576 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2529, allocations: 2.297 kB / 0.6576 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.431e-05/0.253, allocations: 32.2 kB / 0.6576 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.253, allocations: 0 / 0.6576 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.253, allocations: 2.703 kB / 0.6576 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.253, allocations: 4 kB / 0.6576 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.253, allocations: 2.031 kB / 0.6576 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.2532, allocations: 262.4 kB / 0.6579 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.2533, allocations: 21.83 kB / 0.6579 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.2533, allocations: 0.75 kB / 0.6579 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.327e-05/0.2533, allocations: 16.67 kB / 0.6579 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.2534, allocations: 13.09 kB / 0.6579 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-06/0.2534, allocations: 8.25 kB / 0.6579 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.2534, allocations: 117.1 kB / 0.658 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2534, allocations: 1.562 kB / 0.658 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002449/0.2537, allocations: 61.12 kB / 0.6581 GB, free: 51.28 MB / 0.5573 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 (12): * Single equations (assignments): 12 * 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.0002357/0.2539, allocations: 171.5 kB / 0.6582 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002906/0.2542, allocations: 156.8 kB / 0.6584 GB, free: 51.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2542, allocations: 3.938 kB / 0.6584 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-05/0.2543, allocations: 65.72 kB / 0.6585 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.2546, allocations: 21.3 kB / 0.6585 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.255, allocations: 267.9 kB / 0.6587 GB, free: 50.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.961e-05/0.2551, allocations: 94.14 kB / 0.6588 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.2551, allocations: 23.22 kB / 0.6589 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of SimCode: time 1.012e-06/0.2551, allocations: 1.562 kB / 0.6589 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of Templates: time 0.003752/0.2589, allocations: 2.638 MB / 0.6614 GB, free: 50.56 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.396820838563144] Failed to read output from testmodel.py, exit status != 0: 0.26571780163794756 0.27179905400000004 0.022538933 Calling exit ...