Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.001228/0.001228, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 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.56/1.56, allocations: 230.6 MB / 252.6 MB, free: 8.297 MB / 206.1 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.001806/0.001806, allocations: 223.7 kB / 309.2 MB, free: 3.125 MB / 238.1 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.04374/0.04374, allocations: 8.913 MB / 374.6 MB, free: 1.887 MB / 302.1 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.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003846/0.003846, allocations: 91.86 kB / 0.4897 GB, free: 6.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3964, allocations: 55.6 MB / 0.544 GB, free: 27.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001559/0.398, allocations: 0.5058 MB / 0.5445 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001508/0.3981, allocations: 25.72 kB / 0.5445 GB, free: 26.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.3982, allocations: 0 / 0.5445 GB, free: 26.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.3982, allocations: 4 kB / 0.5445 GB, free: 26.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/0.3982, allocations: 7.922 kB / 0.5445 GB, free: 26.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.3983, allocations: 6.438 kB / 0.5445 GB, free: 26.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.474e-05/0.3984, allocations: 14.41 kB / 0.5445 GB, free: 26.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.892e-05/0.3985, allocations: 3.422 kB / 0.5445 GB, free: 26.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.997e-05/0.3985, allocations: 7.219 kB / 0.5445 GB, free: 26.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.3985, allocations: 7.219 kB / 0.5445 GB, free: 26.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.3986, allocations: 0 / 0.5445 GB, free: 26.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-06/0.3986, allocations: 3.062 kB / 0.5445 GB, free: 26.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.3986, allocations: 3.938 kB / 0.5445 GB, free: 26.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.3986, allocations: 14.73 kB / 0.5446 GB, free: 26.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.673e-05/0.3987, allocations: 10.91 kB / 0.5446 GB, free: 26.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3987, allocations: 0 / 0.5446 GB, free: 26.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3987, allocations: 0 / 0.5446 GB, free: 26.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.3987, allocations: 0 / 0.5446 GB, free: 26.71 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003401/0.399, allocations: 245.9 kB / 0.5448 GB, free: 26.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3991, allocations: 9.781 kB / 0.5448 GB, free: 26.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.3991, allocations: 4.891 kB / 0.5448 GB, free: 26.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.518e-05/0.3992, allocations: 113.2 kB / 0.5449 GB, free: 26.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3992, allocations: 4.375 kB / 0.5449 GB, free: 26.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.3992, allocations: 7.031 kB / 0.5449 GB, free: 26.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.836e-05/0.3993, allocations: 32.78 kB / 0.545 GB, free: 26.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.3993, allocations: 3.469 kB / 0.545 GB, free: 26.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3993, allocations: 3.938 kB / 0.545 GB, free: 26.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.3993, allocations: 0 / 0.545 GB, free: 26.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.3994, allocations: 7.156 kB / 0.545 GB, free: 26.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.3995, allocations: 126.6 kB / 0.5451 GB, free: 26.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.132e-05/0.3996, allocations: 39.66 kB / 0.5451 GB, free: 26.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.3996, allocations: 15.39 kB / 0.5451 GB, free: 26.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.3996, allocations: 0 / 0.5451 GB, free: 26.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3996, allocations: 30.56 kB / 0.5452 GB, free: 26.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3996, allocations: 0 / 0.5452 GB, free: 26.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001467/0.3998, allocations: 53.95 kB / 0.5452 GB, free: 25.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.3998, allocations: 58 kB / 0.5453 GB, free: 25.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.927e-05/0.3998, allocations: 101.4 kB / 0.5454 GB, free: 25.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.954e-06/0.3999, allocations: 25.7 kB / 0.5454 GB, free: 25.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.3999, allocations: 80.14 kB / 0.5455 GB, free: 25.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.3999, allocations: 22.3 kB / 0.5455 GB, free: 25.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.3999, allocations: 16.78 kB / 0.5455 GB, free: 25.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.4, allocations: 314.8 kB / 0.5458 GB, free: 25.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.4, allocations: 7.312 kB / 0.5458 GB, free: 25.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.13e-05/0.4, allocations: 10.8 kB / 0.5458 GB, free: 25.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.387e-05/0.4, allocations: 18.58 kB / 0.5459 GB, free: 25.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4, allocations: 4 kB / 0.5459 GB, free: 25.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.54e-05/0.4001, allocations: 49.64 kB / 0.5459 GB, free: 25.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.4001, allocations: 3.188 kB / 0.5459 GB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4001, allocations: 7.062 kB / 0.5459 GB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4001, allocations: 0 / 0.5459 GB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.4002, allocations: 9.766 kB / 0.5459 GB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4002, allocations: 0 / 0.5459 GB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.4002, allocations: 0 / 0.5459 GB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.4002, allocations: 7.219 kB / 0.5459 GB, free: 25.29 MB / 382.1 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 (4): * Single equations (assignments): 4 * 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 4.033e-05/0.4003, allocations: 109.8 kB / 0.546 GB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.4003, allocations: 7.109 kB / 0.546 GB, free: 25.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.572e-05/0.4003, allocations: 7.625 kB / 0.5461 GB, free: 25.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4003, allocations: 0 / 0.5461 GB, free: 25.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4003, allocations: 0 / 0.5461 GB, free: 25.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4003, allocations: 0 / 0.5461 GB, free: 25.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.526e-05/0.4004, allocations: 126.6 kB / 0.5462 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.4004, allocations: 0 / 0.5462 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.938e-05/0.4004, allocations: 13.84 kB / 0.5462 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4004, allocations: 3.219 kB / 0.5462 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.4004, allocations: 7.938 kB / 0.5462 GB, free: 24.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4004, allocations: 0 / 0.5462 GB, free: 24.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4004, allocations: 0 / 0.5462 GB, free: 24.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.684e-05/0.4005, allocations: 79.97 kB / 0.5463 GB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-06/0.4005, allocations: 0 / 0.5463 GB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.4005, allocations: 11.12 kB / 0.5463 GB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.683e-05/0.4006, allocations: 0 / 0.5463 GB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.4006, allocations: 0 / 0.5463 GB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.4006, allocations: 7.188 kB / 0.5463 GB, free: 24.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.826e-05/0.4006, allocations: 78.56 kB / 0.5464 GB, free: 24.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4006, allocations: 0 / 0.5464 GB, free: 24.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001775/0.4008, allocations: 10.25 kB / 0.5464 GB, free: 24.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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 (3): * Single equations (assignments): 3 * 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 5.455e-05/0.4008, allocations: 88.84 kB / 0.5465 GB, free: 24.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.4009, allocations: 20.78 kB / 0.5465 GB, free: 24.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4009, allocations: 3.25 kB / 0.5465 GB, free: 24.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.4009, allocations: 3.672 kB / 0.5465 GB, free: 24.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.4011, allocations: 11.19 kB / 0.5465 GB, free: 24.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.4014, allocations: 195.8 kB / 0.5467 GB, free: 24.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.4015, allocations: 0.6794 MB / 0.5473 GB, free: 23.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.533e-05/0.4016, allocations: 0 / 0.5473 GB, free: 23.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.4016, allocations: 10.88 kB / 0.5474 GB, free: 23.84 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4016, allocations: 0 / 0.5474 GB, free: 23.84 MB / 382.1 MB Notification: Performance of Templates: time 0.002439/0.404, allocations: 272.9 kB / 0.5476 GB, free: 23.78 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.036522440146655] Failed to read output from testmodel.py, exit status != 0: 0.41325434180907905 0.42354651200000004 0.022270962000000002 Calling exit ...