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.001065/0.001065, allocations: 93.06 kB / 19.65 MB, free: 276 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.009/1.009, allocations: 177.1 MB / 200 MB, free: 5.531 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.001265/0.001265, allocations: 160.6 kB / 256.6 MB, free: 13 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.02973/0.02973, allocations: 6.657 MB / 319.8 MB, free: 11.64 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.954e-06/1.954e-06, allocations: 0 / 391.6 MB, free: 3.699 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.099e-05, allocations: 2.312 kB / 391.6 MB, free: 3.695 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002773/0.002804, allocations: 1.309 MB / 392.9 MB, free: 2.375 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 7.454e-05/0.002878, allocations: 11.98 kB / 392.9 MB, free: 2.363 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.002912, allocations: 0 / 392.9 MB, free: 2.363 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.854e-05/0.00296, allocations: 7.938 kB / 393 MB, free: 2.355 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.683e-05/0.003037, allocations: 0 / 393 MB, free: 2.355 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.955e-05/0.003057, allocations: 3.938 kB / 393 MB, free: 2.352 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 7.66e-05/0.003133, allocations: 7.984 kB / 393 MB, free: 2.344 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.003225, allocations: 0 / 393 MB, free: 2.344 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.648e-05/0.003272, allocations: 11.94 kB / 393 MB, free: 2.332 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.003321, allocations: 0 / 393 MB, free: 2.332 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.003338, allocations: 0 / 393 MB, free: 2.332 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.139e-06/0.003343, allocations: 4 kB / 393 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.003358, allocations: 0 / 393 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.003381, allocations: 4 kB / 393 MB, free: 2.324 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 6.736e-05/0.003449, allocations: 15.92 kB / 393 MB, free: 2.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.003452, allocations: 0 / 393 MB, free: 2.309 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003453, allocations: 0 / 393 MB, free: 2.309 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.003458, allocations: 0 / 393 MB, free: 2.309 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.0003647/0.003823, allocations: 348.7 kB / 393.3 MB, free: 1.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.003866, allocations: 8.031 kB / 393.3 MB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.003903, allocations: 4.922 kB / 393.4 MB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.004019, allocations: 112.6 kB / 393.5 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.004032, allocations: 4.312 kB / 393.5 MB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.004045, allocations: 384 / 393.5 MB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.843e-05/0.004143, allocations: 53.64 kB / 393.5 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.004155, allocations: 192 / 393.5 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.004165, allocations: 384 / 393.5 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.004174, allocations: 4.375 kB / 393.5 MB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.004192, allocations: 11.86 kB / 393.5 MB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.00457, allocations: 0.5948 MB / 394.1 MB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.004671, allocations: 269.5 kB / 394.4 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.004716, allocations: 130.9 kB / 394.5 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.004752, allocations: 119.2 kB / 394.6 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/0.004812, allocations: 156.5 kB / 394.8 MB, free: 376 kB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.004813, allocations: 4 kB / 394.8 MB, free: 372 kB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.379e-05/0.004887, allocations: 37.59 kB / 394.8 MB, free: 328 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.004951, allocations: 170.6 kB / 395 MB, free: 144 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.00509, allocations: 165.9 kB / 395.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.005101, allocations: 25.7 kB / 395.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.005162, allocations: 130.8 kB / 395.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/0.005167, allocations: 4 kB / 395.3 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.005203, allocations: 19.38 kB / 395.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003/0.005503, allocations: 492.1 kB / 395.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.005519, allocations: 4 kB / 395.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.15e-05/0.00554, allocations: 23.36 kB / 395.8 MB, free: 15.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.005579, allocations: 27.31 kB / 395.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.005582, allocations: 0 / 395.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001167/0.005699, allocations: 37.64 kB / 395.9 MB, free: 15.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.005719, allocations: 15.53 kB / 395.9 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005723, allocations: 0 / 395.9 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.005741, allocations: 0 / 395.9 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.0058, allocations: 7.984 kB / 395.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.005805, allocations: 4.125 kB / 395.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.747e-05/0.005832, allocations: 0 / 395.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.005841, allocations: 8 kB / 395.9 MB, free: 15.13 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.000107/0.005948, allocations: 271.8 kB / 396.2 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.00602, allocations: 152.8 kB / 396.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.006082, allocations: 163.9 kB / 396.5 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.215e-05/0.006154, allocations: 268.1 kB / 396.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.667e-05/0.006231, allocations: 280 kB / 397 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.665e-05/0.006298, allocations: 264.1 kB / 397.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.006512, allocations: 0.4921 MB / 397.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/0.006551, allocations: 144.9 kB / 397.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.006594, allocations: 156.9 kB / 398.1 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.497e-05/0.006669, allocations: 268 kB / 398.4 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.006739, allocations: 264.1 kB / 398.6 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-05/0.006812, allocations: 276 kB / 398.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-05/0.006879, allocations: 268.1 kB / 399.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.007033, allocations: 444.2 kB / 399.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.007084, allocations: 152.9 kB / 399.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.262e-05/0.007167, allocations: 272 kB / 400 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.007259, allocations: 152.8 kB / 400.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.007334, allocations: 264.1 kB / 400.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.007375, allocations: 152.8 kB / 400.5 MB, free: 10.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.333e-05/0.007428, allocations: 131.2 kB / 400.7 MB, free: 10.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007428, allocations: 0 / 400.7 MB, free: 10.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.00767, allocations: 4 kB / 400.7 MB, free: 10.18 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.0001191/0.007789, allocations: 210.4 kB / 400.9 MB, free: 9.965 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.284e-05/0.007872, allocations: 11.69 kB / 400.9 MB, free: 9.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.007874, allocations: 0 / 400.9 MB, free: 9.949 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.007877, allocations: 3.938 kB / 400.9 MB, free: 9.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.008286, allocations: 0.7063 MB / 401.6 MB, free: 9.234 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.008533, allocations: 217.7 kB / 401.8 MB, free: 8.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.022e-05/0.008573, allocations: 51.36 kB / 401.9 MB, free: 8.922 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.298e-05/0.008596, allocations: 0 / 401.9 MB, free: 8.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.008618, allocations: 8.5 kB / 401.9 MB, free: 8.914 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.008619, allocations: 0 / 401.9 MB, free: 8.914 MB / 378.7 MB Notification: Performance of Templates: time 0.002339/0.01096, allocations: 241.2 kB / 402.1 MB, free: 8.68 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: 3.034617649856955]