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.0009373/0.0009373, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.9814/0.9814, allocations: 177.2 MB / 201 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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.001177/0.001177, allocations: 156.6 kB / 257.7 MB, free: 12.98 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.02486/0.02486, allocations: 6.66 MB / 320.9 MB, free: 11.45 MB / 298.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 1.443e-06/1.443e-06, allocations: 0 / 392.9 MB, free: 3.387 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.908e-05, allocations: 2.312 kB / 392.9 MB, free: 3.383 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003154/0.003173, allocations: 2.058 MB / 394.9 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004109/0.003584, allocations: 163.4 kB / 395.1 MB, free: 1.152 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.24e-05/0.003676, allocations: 11.94 kB / 395.1 MB, free: 1.141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.003812, allocations: 19.78 kB / 395.1 MB, free: 1.121 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.004012, allocations: 79.39 kB / 395.2 MB, free: 1.043 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.004171, allocations: 35.95 kB / 395.2 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006142/0.004785, allocations: 0.5055 MB / 395.7 MB, free: 0.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.005075, allocations: 154.2 kB / 395.9 MB, free: 356 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.005375, allocations: 283.5 kB / 396.2 MB, free: 72 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.005693, allocations: 203.6 kB / 396.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/0.005758, allocations: 51.94 kB / 396.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.005832, allocations: 48 kB / 396.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.005941, allocations: 99.73 kB / 396.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.006106, allocations: 159.7 kB / 396.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.006498, allocations: 331 kB / 397 MB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.0065, allocations: 0 / 397 MB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.0065, allocations: 0 / 397 MB, free: 15.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.006506, allocations: 0 / 397 MB, free: 15.2 MB / 378.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.0008775/0.007383, allocations: 0.6598 MB / 397.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.007417, allocations: 8.031 kB / 397.7 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.007526, allocations: 68.69 kB / 397.8 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.007818, allocations: 224.1 kB / 398 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.007842, allocations: 21.03 kB / 398 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.0079, allocations: 32.36 kB / 398 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.008256, allocations: 191.3 kB / 398.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.008273, allocations: 192 / 398.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.008304, allocations: 20.38 kB / 398.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.008335, allocations: 9.031 kB / 398.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.008563, allocations: 95.06 kB / 398.3 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.009922, allocations: 0.7929 MB / 399.1 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.0102, allocations: 175.4 kB / 399.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.01028, allocations: 67.58 kB / 399.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.01029, allocations: 8 kB / 399.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.01031, allocations: 37.39 kB / 399.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.01031, allocations: 0 / 399.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005919/0.0109, allocations: 332.4 kB / 399.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.01092, allocations: 51.41 kB / 399.8 MB, free: 12.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.01104, allocations: 225.8 kB / 400 MB, free: 12.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.01105, allocations: 33.7 kB / 400 MB, free: 12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.01113, allocations: 223.3 kB / 400.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.01119, allocations: 95.2 kB / 400.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.01125, allocations: 55.34 kB / 400.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01137, allocations: 0.5117 MB / 400.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.749e-05/0.0114, allocations: 27.97 kB / 401 MB, free: 11.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.01144, allocations: 19.98 kB / 401 MB, free: 11.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.01154, allocations: 87.97 kB / 401.1 MB, free: 10.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01154, allocations: 0 / 401.1 MB, free: 10.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002417/0.01178, allocations: 212.4 kB / 401.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.01179, allocations: 4 kB / 401.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.0118, allocations: 0 / 401.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.01202, allocations: 94.94 kB / 401.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.01211, allocations: 35.97 kB / 401.4 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.01471, allocations: 5.861 MB / 407.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.377e-05/0.01476, allocations: 15.89 kB / 407.3 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.01477, allocations: 4 kB / 407.3 MB, free: 4.363 MB / 378.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 9.23e-05/0.01486, allocations: 160.6 kB / 407.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.0149, allocations: 31.84 kB / 407.5 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.01493, allocations: 33.92 kB / 407.5 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01493, allocations: 4 kB / 407.5 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.01494, allocations: 0 / 407.5 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.01494, allocations: 4 kB / 407.5 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.01514, allocations: 225 kB / 407.7 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01514, allocations: 0 / 407.7 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.589e-05/0.01524, allocations: 31.98 kB / 407.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.01542, allocations: 91 kB / 407.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.01543, allocations: 8 kB / 407.9 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.01763, allocations: 5.865 MB / 413.7 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01763, allocations: 0 / 413.7 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.01797, allocations: 404.7 kB / 414.1 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.018, allocations: 27.91 kB / 414.1 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.01801, allocations: 4 kB / 414.1 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.01807, allocations: 8 kB / 414.2 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.01812, allocations: 19.95 kB / 414.2 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.01812, allocations: 4 kB / 414.2 MB, free: 13.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.073e-05/0.01819, allocations: 172.1 kB / 414.3 MB, free: 12.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.01819, allocations: 0 / 414.3 MB, free: 12.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003668/0.01856, allocations: 111.7 kB / 414.5 MB, free: 12.77 MB / 394.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 9.299e-05/0.01865, allocations: 103.4 kB / 414.6 MB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004278/0.01908, allocations: 0.6453 MB / 415.2 MB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01908, allocations: 0 / 415.2 MB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.01937, allocations: 0.6054 MB / 415.8 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.01961, allocations: 47.84 kB / 415.9 MB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.0205, allocations: 0.6697 MB / 416.5 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.02061, allocations: 136.2 kB / 416.7 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.454e-05/0.02066, allocations: 17.95 kB / 416.7 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.45e-05/0.02076, allocations: 102.2 kB / 416.8 MB, free: 10.28 MB / 394.7 MB Notification: Performance of SimCode: time 6.62e-07/0.02076, allocations: 0 / 416.8 MB, free: 10.28 MB / 394.7 MB Notification: Performance of Templates: time 0.006232/0.02699, allocations: 4.536 MB / 421.3 MB, free: 5.777 MB / 394.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: 3.000404748134315]