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.0009889/0.0009889, allocations: 73.88 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 1.021/1.021, allocations: 177.2 MB / 201 MB, free: 5.715 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.001381/0.001381, allocations: 152.6 kB / 257.7 MB, free: 12.99 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.02511/0.02511, allocations: 6.656 MB / 320.9 MB, free: 11.46 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.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.853e-06/1.853e-06, allocations: 0 / 392.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.797e-05, allocations: 9.547 kB / 392.9 MB, free: 3.395 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002841/0.002869, allocations: 1.309 MB / 394.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 7.05e-05/0.002939, allocations: 3.938 kB / 394.2 MB, free: 2.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.002976, allocations: 0 / 394.2 MB, free: 2.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.19e-05/0.003018, allocations: 0 / 394.2 MB, free: 2.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.911e-05/0.003097, allocations: 7.938 kB / 394.2 MB, free: 2.062 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.833e-05/0.003115, allocations: 0 / 394.2 MB, free: 2.062 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.82e-05/0.003183, allocations: 8 kB / 394.2 MB, free: 2.055 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.86e-05/0.003252, allocations: 7.984 kB / 394.2 MB, free: 2.047 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.378e-05/0.003286, allocations: 3.938 kB / 394.2 MB, free: 2.043 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.00333, allocations: 7.984 kB / 394.2 MB, free: 2.035 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.003344, allocations: 3.938 kB / 394.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-06/0.003348, allocations: 0 / 394.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.003362, allocations: 0 / 394.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.003379, allocations: 4 kB / 394.2 MB, free: 2.027 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 6.096e-05/0.00344, allocations: 15.94 kB / 394.2 MB, free: 2.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.003443, allocations: 0 / 394.2 MB, free: 2.012 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.003444, allocations: 3.938 kB / 394.3 MB, free: 2.008 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.003448, allocations: 0 / 394.3 MB, free: 2.008 MB / 362.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.0003335/0.003782, allocations: 348.7 kB / 394.6 MB, free: 1.629 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.003819, allocations: 8.031 kB / 394.6 MB, free: 1.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.003843, allocations: 0.9375 kB / 394.6 MB, free: 1.621 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.325e-05/0.003936, allocations: 108.6 kB / 394.7 MB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.003947, allocations: 384 / 394.7 MB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.003955, allocations: 4.375 kB / 394.7 MB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.99e-05/0.004025, allocations: 53.61 kB / 394.8 MB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.004034, allocations: 12.17 kB / 394.8 MB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.00404, allocations: 384 / 394.8 MB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.004045, allocations: 4.312 kB / 394.8 MB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-06/0.004054, allocations: 3.938 kB / 394.8 MB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.004357, allocations: 0.5759 MB / 395.4 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.004462, allocations: 269.4 kB / 395.6 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.004499, allocations: 126.9 kB / 395.7 MB, free: 392 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.004531, allocations: 119.2 kB / 395.9 MB, free: 272 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.004583, allocations: 152.6 kB / 396 MB, free: 108 kB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.004584, allocations: 4 kB / 396 MB, free: 104 kB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.355e-05/0.004647, allocations: 37.59 kB / 396.1 MB, free: 60 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.004728, allocations: 170.6 kB / 396.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.004827, allocations: 169.8 kB / 396.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.004835, allocations: 25.7 kB / 396.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.0049, allocations: 134.8 kB / 396.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.004902, allocations: 0 / 396.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.004938, allocations: 27.34 kB / 396.6 MB, free: 15.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.005069, allocations: 492.1 kB / 397 MB, free: 15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-06/0.005077, allocations: 0 / 397 MB, free: 15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.98e-05/0.005097, allocations: 19.38 kB / 397.1 MB, free: 14.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.00513, allocations: 23.44 kB / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005132, allocations: 0 / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.141e-05/0.005224, allocations: 45.62 kB / 397.1 MB, free: 14.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.005237, allocations: 4 kB / 397.1 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.005242, allocations: 4 kB / 397.1 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.005254, allocations: 3.938 kB / 397.1 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.058e-05/0.005294, allocations: 4 kB / 397.2 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.005299, allocations: 7.922 kB / 397.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.005327, allocations: 4.062 kB / 397.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.005331, allocations: 0 / 397.2 MB, free: 14.86 MB / 378.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.0001044/0.005436, allocations: 279.7 kB / 397.4 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.005501, allocations: 148.8 kB / 397.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.6e-05/0.005567, allocations: 160.1 kB / 397.7 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-05/0.005653, allocations: 272 kB / 398 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-05/0.005735, allocations: 272.1 kB / 398.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.689e-05/0.005822, allocations: 272 kB / 398.5 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.006058, allocations: 488.5 kB / 399 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.852e-05/0.006107, allocations: 144.9 kB / 399.2 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/0.006153, allocations: 152.8 kB / 399.3 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.188e-05/0.006234, allocations: 264.1 kB / 399.6 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.482e-05/0.006329, allocations: 272 kB / 399.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.468e-05/0.006414, allocations: 272.1 kB / 400.1 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.598e-05/0.00649, allocations: 264.1 kB / 400.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.006647, allocations: 448.2 kB / 400.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.006699, allocations: 152.8 kB / 400.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/0.006785, allocations: 272.1 kB / 401.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.007131, allocations: 144.9 kB / 401.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.007202, allocations: 276 kB / 401.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.007242, allocations: 152.9 kB / 401.8 MB, free: 10.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.181e-05/0.007294, allocations: 127.2 kB / 401.9 MB, free: 9.945 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007294, allocations: 0 / 401.9 MB, free: 9.945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.007524, allocations: 0 / 401.9 MB, free: 9.945 MB / 378.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 0.0001295/0.007654, allocations: 210.4 kB / 402.1 MB, free: 9.727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.272e-05/0.007727, allocations: 19.61 kB / 402.1 MB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.007729, allocations: 0 / 402.1 MB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.00773, allocations: 0 / 402.1 MB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.008144, allocations: 0.7062 MB / 402.8 MB, free: 8.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002174/0.008362, allocations: 217.8 kB / 403 MB, free: 8.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.334e-05/0.008395, allocations: 51.36 kB / 403.1 MB, free: 8.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.326e-05/0.008418, allocations: 0 / 403.1 MB, free: 8.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.008456, allocations: 74.14 kB / 403.2 MB, free: 8.605 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.008457, allocations: 0 / 403.2 MB, free: 8.605 MB / 378.7 MB Notification: Performance of Templates: time 0.002052/0.01051, allocations: 241 kB / 403.4 MB, free: 8.371 MB / 378.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: 2.945516841020435]