Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.001754/0.001754, allocations: 104.4 kB / 19.7 MB, free: 2.125 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 / 253.4 MB, free: 14.48 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.001593/0.001593, allocations: 212.4 kB / 310 MB, free: 3.066 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.04392/0.04392, allocations: 8.922 MB / 375.3 MB, free: 6.598 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.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") [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.002571/0.002571, allocations: 87.88 kB / 0.4904 GB, free: 44.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08551/0.08809, allocations: 55.61 MB / 0.5447 GB, free: 4.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003229/0.09131, allocations: 1.77 MB / 0.5464 GB, free: 2.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008914/0.09221, allocations: 474.9 kB / 0.5468 GB, free: 2.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.09229, allocations: 4 kB / 0.5469 GB, free: 2.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.09242, allocations: 15.8 kB / 0.5469 GB, free: 2.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.0925, allocations: 31.72 kB / 0.5469 GB, free: 2.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.09264, allocations: 27.97 kB / 0.5469 GB, free: 2.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.09283, allocations: 119.5 kB / 0.547 GB, free: 2.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.09297, allocations: 37.22 kB / 0.5471 GB, free: 2.043 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.09304, allocations: 51.73 kB / 0.5471 GB, free: 1.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.09315, allocations: 47.77 kB / 0.5472 GB, free: 1.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.09317, allocations: 8 kB / 0.5472 GB, free: 1.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.819e-05/0.0932, allocations: 12 kB / 0.5472 GB, free: 1.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.09323, allocations: 19.92 kB / 0.5472 GB, free: 1.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.09329, allocations: 43.8 kB / 0.5472 GB, free: 1.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.09347, allocations: 123.5 kB / 0.5474 GB, free: 1.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.09348, allocations: 4 kB / 0.5474 GB, free: 1.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09348, allocations: 7.938 kB / 0.5474 GB, free: 1.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.09349, allocations: 0 / 0.5474 GB, free: 1.73 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005715/0.09406, allocations: 337.9 kB / 0.5477 GB, free: 1.371 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.0941, allocations: 11.98 kB / 0.5477 GB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.09414, allocations: 8.891 kB / 0.5477 GB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.0944, allocations: 142.4 kB / 0.5479 GB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.09442, allocations: 8.375 kB / 0.5479 GB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.09445, allocations: 12.31 kB / 0.5479 GB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.09468, allocations: 131.7 kB / 0.548 GB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.09469, allocations: 4 kB / 0.548 GB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.09471, allocations: 4 kB / 0.548 GB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.09471, allocations: 4 kB / 0.548 GB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.09484, allocations: 63.91 kB / 0.5481 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.09562, allocations: 406 kB / 0.5485 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.09573, allocations: 46.5 kB / 0.5485 GB, free: 472 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.09577, allocations: 24.94 kB / 0.5485 GB, free: 444 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.09578, allocations: 0 / 0.5485 GB, free: 444 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.09582, allocations: 38.56 kB / 0.5486 GB, free: 396 kB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.09582, allocations: 0 / 0.5486 GB, free: 396 kB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001899/0.09601, allocations: 69.56 kB / 0.5486 GB, free: 320 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.09605, allocations: 51.41 kB / 0.5487 GB, free: 256 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.09619, allocations: 130.1 kB / 0.5488 GB, free: 112 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.0962, allocations: 25.7 kB / 0.5488 GB, free: 80 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.09631, allocations: 119.8 kB / 0.5489 GB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.09632, allocations: 11.91 kB / 0.549 GB, free: 15.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.09637, allocations: 33.66 kB / 0.549 GB, free: 15.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.09652, allocations: 314.8 kB / 0.5493 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.09655, allocations: 15.98 kB / 0.5493 GB, free: 15.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.712e-05/0.0966, allocations: 26.58 kB / 0.5493 GB, free: 15.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.09667, allocations: 54.5 kB / 0.5494 GB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.09668, allocations: 3.938 kB / 0.5494 GB, free: 15.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001274/0.0968, allocations: 77.58 kB / 0.5495 GB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.09682, allocations: 7.984 kB / 0.5495 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.09683, allocations: 8 kB / 0.5495 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.09685, allocations: 4 kB / 0.5495 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.09695, allocations: 12 kB / 0.5495 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.09695, allocations: 0 / 0.5495 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.097, allocations: 11.89 kB / 0.5495 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.097, allocations: 0 / 0.5495 GB, free: 15.35 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001072/0.09711, allocations: 129.7 kB / 0.5496 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.09714, allocations: 12 kB / 0.5496 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.09717, allocations: 8 kB / 0.5496 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.09717, allocations: 0 / 0.5496 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.09718, allocations: 0 / 0.5496 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.09718, allocations: 4 kB / 0.5496 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.09736, allocations: 129.3 kB / 0.5498 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.09736, allocations: 3.938 kB / 0.5498 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/0.09743, allocations: 8 kB / 0.5498 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.09743, allocations: 4 kB / 0.5498 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.09743, allocations: 0 / 0.5498 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.09744, allocations: 3.984 kB / 0.5498 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09744, allocations: 0 / 0.5498 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.09764, allocations: 163.4 kB / 0.5499 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.09766, allocations: 11.97 kB / 0.55 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.09767, allocations: 4.062 kB / 0.55 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.09776, allocations: 7.984 kB / 0.55 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.09777, allocations: 0 / 0.55 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.09778, allocations: 0 / 0.55 GB, free: 14.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.025e-05/0.09786, allocations: 106.3 kB / 0.5501 GB, free: 14.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09786, allocations: 0 / 0.5501 GB, free: 14.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.09812, allocations: 23.89 kB / 0.5501 GB, free: 14.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.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 (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 Backend phase and start with SimCode phase: time 0.000101/0.09822, allocations: 91.25 kB / 0.5502 GB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.09833, allocations: 39.98 kB / 0.5502 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.09833, allocations: 0 / 0.5502 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.193e-05/0.09836, allocations: 12 kB / 0.5502 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.09864, allocations: 17.02 kB / 0.5502 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.09924, allocations: 309.7 kB / 0.5505 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.195e-05/0.09933, allocations: 84.19 kB / 0.5506 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.09936, allocations: 15.38 kB / 0.5506 GB, free: 14.06 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.09936, allocations: 3.938 kB / 0.5506 GB, free: 14.06 MB / 382.1 MB Notification: Performance of Templates: time 0.002939/0.1023, allocations: 1.093 MB / 0.5517 GB, free: 12.96 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.212957430165261] Failed to read output from testmodel.py, exit status != 0: 0.10967688402161002 0.31948808599999995 0.029762091 Calling exit ...