Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.001277/0.001277, allocations: 92.2 kB / 20.19 MB, free: 4.359 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 1.066/1.066, allocations: 177.2 MB / 200.5 MB, free: 5.84 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.001175/0.001175, allocations: 176.5 kB / 257 MB, free: 13.2 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.02389/0.02389, allocations: 6.664 MB / 320.1 MB, free: 26.59 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.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 391.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.926e-05, allocations: 2.312 kB / 391.6 MB, free: 2.984 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002684/0.002713, allocations: 1.321 MB / 393 MB, free: 1.652 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 5.967e-05/0.002773, allocations: 3.938 kB / 393 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.002803, allocations: 4 kB / 393 MB, free: 1.645 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.988e-05/0.002843, allocations: 0 / 393 MB, free: 1.645 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.361e-05/0.002907, allocations: 0 / 393 MB, free: 1.645 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.788e-05/0.002925, allocations: 0 / 393 MB, free: 1.645 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.002995, allocations: 19.91 kB / 393 MB, free: 1.625 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.161e-05/0.003056, allocations: 0 / 393 MB, free: 1.625 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.279e-05/0.003089, allocations: 4 kB / 393 MB, free: 1.621 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.03e-05/0.003129, allocations: 3.938 kB / 393 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.003147, allocations: 4 kB / 393 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.911e-06/0.003153, allocations: 4 kB / 393 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.003165, allocations: 0 / 393 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.003184, allocations: 0 / 393 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.645e-05/0.00325, allocations: 11.92 kB / 393 MB, free: 1.598 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.003253, allocations: 0 / 393 MB, free: 1.598 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.003254, allocations: 3.938 kB / 393 MB, free: 1.594 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.003258, allocations: 0 / 393 MB, free: 1.594 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003316/0.00359, allocations: 348.7 kB / 393.4 MB, free: 1.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.00363, allocations: 8.031 kB / 393.4 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.003665, allocations: 12.92 kB / 393.4 MB, free: 1.195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.003771, allocations: 108.6 kB / 393.5 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.003781, allocations: 384 / 393.5 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.003789, allocations: 8.312 kB / 393.5 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.776e-05/0.003867, allocations: 45.64 kB / 393.5 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.003873, allocations: 192 / 393.5 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.003881, allocations: 384 / 393.5 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.00389, allocations: 4.375 kB / 393.5 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.338e-05/0.003904, allocations: 7.875 kB / 393.5 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.004241, allocations: 0.5948 MB / 394.1 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.836e-05/0.004339, allocations: 273.5 kB / 394.4 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.004393, allocations: 134.8 kB / 394.5 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.004428, allocations: 119.2 kB / 394.7 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.889e-05/0.004486, allocations: 152.6 kB / 394.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.004487, allocations: 0 / 394.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.533e-05/0.004553, allocations: 33.64 kB / 394.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.004613, allocations: 170.6 kB / 395 MB, free: 15.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.004719, allocations: 169.9 kB / 395.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.004729, allocations: 25.7 kB / 395.2 MB, free: 15.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.004789, allocations: 134.8 kB / 395.3 MB, free: 15.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.004792, allocations: 0 / 395.3 MB, free: 15.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.004823, allocations: 23.38 kB / 395.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.004958, allocations: 496.1 kB / 395.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.004969, allocations: 4 kB / 395.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.004987, allocations: 23.36 kB / 395.9 MB, free: 14.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/0.005022, allocations: 19.38 kB / 395.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005024, allocations: 0 / 395.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.51e-05/0.005119, allocations: 41.64 kB / 395.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.005137, allocations: 16.06 kB / 395.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005142, allocations: 0 / 395.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.005153, allocations: 0 / 395.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.506e-05/0.005198, allocations: 7.984 kB / 395.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.005203, allocations: 0 / 395.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.005226, allocations: 0 / 395.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.005233, allocations: 7.984 kB / 396 MB, free: 14.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001016/0.005334, allocations: 271.8 kB / 396.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.005404, allocations: 152.8 kB / 396.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.147e-05/0.005486, allocations: 152 kB / 396.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.579e-05/0.005552, allocations: 276 kB / 396.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.808e-05/0.00561, allocations: 276 kB / 397.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.397e-05/0.005664, allocations: 264.1 kB / 397.3 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.005833, allocations: 0.496 MB / 397.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.45e-05/0.005867, allocations: 144.9 kB / 397.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.005903, allocations: 153.1 kB / 398.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.907e-05/0.005972, allocations: 264.1 kB / 398.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/0.006031, allocations: 268.1 kB / 398.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-05/0.006092, allocations: 276 kB / 398.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.553e-05/0.006147, allocations: 268.1 kB / 399.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.006267, allocations: 448.2 kB / 399.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.006312, allocations: 156.9 kB / 399.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.006373, allocations: 272 kB / 400 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.208e-05/0.006435, allocations: 148.8 kB / 400.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.006495, allocations: 276 kB / 400.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.006524, allocations: 144.9 kB / 400.6 MB, free: 9.598 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.902e-05/0.006563, allocations: 127.2 kB / 400.7 MB, free: 9.473 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006563, allocations: 0 / 400.7 MB, free: 9.473 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001323/0.006696, allocations: 4 kB / 400.7 MB, free: 9.469 MB / 330.7 MB 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 (0): * Single equations (assignments): 0 * 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.853e-05/0.006784, allocations: 210.4 kB / 400.9 MB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.108e-05/0.006845, allocations: 23.62 kB / 400.9 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.006847, allocations: 0 / 400.9 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.006848, allocations: 0 / 400.9 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.007138, allocations: 0.7061 MB / 401.6 MB, free: 8.516 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.007329, allocations: 225.5 kB / 401.8 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.726e-05/0.007356, allocations: 51.36 kB / 401.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.63e-05/0.007372, allocations: 0 / 401.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.007389, allocations: 8.5 kB / 401.9 MB, free: 8.188 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00739, allocations: 0 / 401.9 MB, free: 8.188 MB / 330.7 MB Notification: Performance of Templates: time 0.00139/0.008779, allocations: 221.2 kB / 402.1 MB, free: 7.973 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1454113197978586]