Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.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.001949/0.001949, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 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 1.609/1.609, allocations: 177.1 MB / 199.7 MB, free: 5.797 MB / 186.7 MB " [Timeout remaining time 178] 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.00213/0.00213, allocations: 164.6 kB / 256.3 MB, free: 13.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04003/0.04003, allocations: 6.655 MB / 319.4 MB, free: 26.58 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 390.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.34e-05, allocations: 10.25 kB / 390.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.00364/0.003674, allocations: 2.035 MB / 392.9 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004734/0.004147, allocations: 171.5 kB / 393.1 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.918e-05/0.004226, allocations: 0 / 393.1 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.004396, allocations: 27.72 kB / 393.1 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.004638, allocations: 75.34 kB / 393.2 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.004822, allocations: 39.95 kB / 393.2 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006231/0.005445, allocations: 0.5055 MB / 393.7 MB, free: 136 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003342/0.005779, allocations: 154.2 kB / 393.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.006122, allocations: 279.5 kB / 394.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.006457, allocations: 199.6 kB / 394.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-05/0.006536, allocations: 48 kB / 394.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.006625, allocations: 48 kB / 394.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.006762, allocations: 103.7 kB / 394.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.006968, allocations: 155.7 kB / 394.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007402/0.007708, allocations: 0.5532 MB / 395.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.007714, allocations: 7.922 kB / 395.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007715, allocations: 3.938 kB / 395.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.007723, allocations: 4 kB / 395.3 MB, free: 14.59 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001307/0.00903, allocations: 0.7064 MB / 396 MB, free: 13.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.009068, allocations: 8.031 kB / 396 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.009214, allocations: 60.7 kB / 396.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.009758, allocations: 244.6 kB / 396.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.009788, allocations: 25.03 kB / 396.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.009853, allocations: 32.38 kB / 396.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/0.01054, allocations: 354.5 kB / 396.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.01057, allocations: 12.14 kB / 396.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.01061, allocations: 16.36 kB / 396.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.01064, allocations: 13.03 kB / 396.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.01129, allocations: 330.3 kB / 397.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.01345, allocations: 1.196 MB / 398.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000835/0.01429, allocations: 375 kB / 398.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.01461, allocations: 179.6 kB / 398.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.01463, allocations: 4 kB / 398.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.01467, allocations: 37.39 kB / 398.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/0.01468, allocations: 0 / 398.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001702/0.01638, allocations: 0.6218 MB / 399.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.01643, allocations: 55.41 kB / 399.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.01673, allocations: 277.9 kB / 399.8 MB, free: 9.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.01677, allocations: 29.7 kB / 399.8 MB, free: 9.879 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.01695, allocations: 231.2 kB / 400 MB, free: 9.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.01708, allocations: 103.2 kB / 400.1 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.01718, allocations: 59.36 kB / 400.2 MB, free: 9.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003083/0.01749, allocations: 0.5235 MB / 400.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.01769, allocations: 107.9 kB / 400.8 MB, free: 8.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.01789, allocations: 111.8 kB / 400.9 MB, free: 8.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.01832, allocations: 267.5 kB / 401.2 MB, free: 8.465 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01832, allocations: 0 / 401.2 MB, free: 8.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007738/0.01909, allocations: 432.6 kB / 401.6 MB, free: 8.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01911, allocations: 4 kB / 401.6 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.01912, allocations: 4 kB / 401.6 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005294/0.01965, allocations: 147 kB / 401.8 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.01983, allocations: 43.91 kB / 401.8 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/0.02562, allocations: 6.515 MB / 408.3 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.02579, allocations: 23.88 kB / 408.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.0258, allocations: 4.094 kB / 408.4 MB, free: 0.9062 MB / 330.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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002931/0.0261, allocations: 244.5 kB / 408.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.02616, allocations: 23.91 kB / 408.6 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.623e-05/0.02624, allocations: 29.95 kB / 408.6 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.02624, allocations: 0 / 408.6 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.02625, allocations: 4 kB / 408.6 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.02625, allocations: 0 / 408.6 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.02681, allocations: 384.3 kB / 409 MB, free: 196 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.02682, allocations: 7.938 kB / 409 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.02703, allocations: 43.91 kB / 409.1 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1524/0.1794, allocations: 143.9 kB / 409.2 MB, free: 82.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.1795, allocations: 9.859 kB / 409.2 MB, free: 82.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/0.1832, allocations: 6.503 MB / 415.7 MB, free: 76.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1832, allocations: 1.781 kB / 415.7 MB, free: 76.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.1844, allocations: 0.707 MB / 416.4 MB, free: 76.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.1845, allocations: 23.53 kB / 416.5 MB, free: 76.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.1845, allocations: 9.672 kB / 416.5 MB, free: 76.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.1846, allocations: 9.188 kB / 416.5 MB, free: 76.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.1848, allocations: 21.5 kB / 416.5 MB, free: 76.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.1848, allocations: 7.594 kB / 416.5 MB, free: 76.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.1849, allocations: 205.9 kB / 416.7 MB, free: 76.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1849, allocations: 0 / 416.7 MB, free: 76.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006206/0.1856, allocations: 110.7 kB / 416.8 MB, free: 76.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.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 (15): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001347/0.1857, allocations: 97.52 kB / 416.9 MB, free: 76.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.1867, allocations: 0.8176 MB / 417.7 MB, free: 75.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1867, allocations: 1.438 kB / 417.7 MB, free: 75.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006215/0.1873, allocations: 0.7081 MB / 418.4 MB, free: 75.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1877, allocations: 42.91 kB / 418.5 MB, free: 75.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1891, allocations: 0.7529 MB / 419.2 MB, free: 74.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1893, allocations: 227.3 kB / 419.5 MB, free: 74.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.1895, allocations: 40.16 kB / 419.5 MB, free: 74.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.1895, allocations: 17.44 kB / 419.5 MB, free: 74.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.223e-06/0.1895, allocations: 0 / 419.5 MB, free: 74.73 MB / 330.7 MB Notification: Performance of Templates: time 0.01006/0.1996, allocations: 4.167 MB / 423.7 MB, free: 74.04 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.TestLongRod.pipe >> ../files/HanserModelica_HanserModelica.Thermal.TestLongRod.sim & ./HanserModelica_HanserModelica.Thermal.TestLongRod -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.128203943022527]