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.001254/0.001254, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.31/1.31, allocations: 177.1 MB / 199.4 MB, free: 8.434 MB / 190.1 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.00145/0.00145, allocations: 162.8 kB / 256 MB, free: 4.324 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.03802/0.03802, allocations: 6.659 MB / 319 MB, free: 5.383 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: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.776e-05, allocations: 6.281 kB / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002001/0.002019, allocations: 1.778 MB / 447.7 MB, free: 23.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006169/0.002636, allocations: 470.8 kB / 448.1 MB, free: 22.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.002706, allocations: 4 kB / 448.1 MB, free: 22.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.547e-05/0.002801, allocations: 11.86 kB / 448.2 MB, free: 22.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/0.002865, allocations: 43.62 kB / 448.2 MB, free: 22.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.00298, allocations: 23.97 kB / 448.2 MB, free: 22.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.003111, allocations: 131.3 kB / 448.4 MB, free: 22.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.003221, allocations: 37.22 kB / 448.4 MB, free: 22.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.421e-05/0.003295, allocations: 67.89 kB / 448.5 MB, free: 22.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.878e-05/0.003364, allocations: 35.88 kB / 448.5 MB, free: 22.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.00339, allocations: 12 kB / 448.5 MB, free: 22.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.003408, allocations: 8 kB / 448.5 MB, free: 22.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.003432, allocations: 27.86 kB / 448.5 MB, free: 22.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.003472, allocations: 39.91 kB / 448.6 MB, free: 22.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.003601, allocations: 115.6 kB / 448.7 MB, free: 22.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003603, allocations: 0 / 448.7 MB, free: 22.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003604, allocations: 0 / 448.7 MB, free: 22.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.003613, allocations: 0 / 448.7 MB, free: 22.39 MB / 334.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.0004005/0.004014, allocations: 345.8 kB / 449 MB, free: 22.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.004045, allocations: 11.98 kB / 449 MB, free: 22.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.004081, allocations: 12.89 kB / 449 MB, free: 22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.004264, allocations: 137.6 kB / 449.2 MB, free: 21.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.004278, allocations: 8.375 kB / 449.2 MB, free: 21.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.004305, allocations: 12.38 kB / 449.2 MB, free: 21.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.004471, allocations: 127.6 kB / 449.3 MB, free: 21.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.004482, allocations: 8.125 kB / 449.3 MB, free: 21.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.004495, allocations: 4.375 kB / 449.3 MB, free: 21.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.004501, allocations: 11.94 kB / 449.4 MB, free: 21.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/0.004592, allocations: 55.97 kB / 449.4 MB, free: 21.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.005118, allocations: 410.5 kB / 449.8 MB, free: 21.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.177e-05/0.005199, allocations: 50.44 kB / 449.9 MB, free: 21.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.005223, allocations: 16.86 kB / 449.9 MB, free: 21.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.005234, allocations: 0 / 449.9 MB, free: 21.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.005246, allocations: 38.5 kB / 449.9 MB, free: 21.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.005247, allocations: 0 / 449.9 MB, free: 21.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001412/0.005388, allocations: 61.73 kB / 450 MB, free: 20.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/0.005405, allocations: 59.34 kB / 450 MB, free: 20.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.274e-05/0.005477, allocations: 134 kB / 450.2 MB, free: 20.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.005485, allocations: 25.7 kB / 450.2 MB, free: 20.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.005519, allocations: 119.8 kB / 450.3 MB, free: 20.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.688e-06/0.005529, allocations: 19.89 kB / 450.3 MB, free: 20.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.005557, allocations: 17.72 kB / 450.3 MB, free: 20.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 3.654e-05/0.005594, allocations: 318.8 kB / 450.7 MB, free: 20.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.005617, allocations: 11.98 kB / 450.7 MB, free: 20.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.005644, allocations: 34.58 kB / 450.7 MB, free: 20.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.824e-05/0.005693, allocations: 50.5 kB / 450.7 MB, free: 20.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.005694, allocations: 0 / 450.7 MB, free: 20.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.977e-05/0.005784, allocations: 81.58 kB / 450.8 MB, free: 20.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.005794, allocations: 7.938 kB / 450.8 MB, free: 20.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.005797, allocations: 0 / 450.8 MB, free: 20.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.00581, allocations: 0 / 450.8 MB, free: 20.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/0.005892, allocations: 16.06 kB / 450.8 MB, free: 20.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.005896, allocations: 4 kB / 450.9 MB, free: 20.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.005938, allocations: 15.88 kB / 450.9 MB, free: 20 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.005942, allocations: 4 kB / 450.9 MB, free: 20 MB / 334.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 4.576e-05/0.005988, allocations: 113.8 kB / 451 MB, free: 19.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.006014, allocations: 7.938 kB / 451 MB, free: 19.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.006034, allocations: 8 kB / 451 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006035, allocations: 7.938 kB / 451 MB, free: 19.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.006039, allocations: 4.062 kB / 451 MB, free: 19.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.006041, allocations: 0 / 451 MB, free: 19.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.006144, allocations: 137.2 kB / 451.1 MB, free: 19.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006145, allocations: 4 kB / 451.1 MB, free: 19.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.006204, allocations: 11.98 kB / 451.2 MB, free: 19.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006205, allocations: 192 / 451.2 MB, free: 19.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.006213, allocations: 3.938 kB / 451.2 MB, free: 19.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.006214, allocations: 0 / 451.2 MB, free: 19.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006215, allocations: 4 kB / 451.2 MB, free: 19.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.006327, allocations: 159.5 kB / 451.3 MB, free: 19.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.00634, allocations: 7.938 kB / 451.3 MB, free: 19.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.006356, allocations: 7.969 kB / 451.3 MB, free: 19.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.006433, allocations: 64 / 451.3 MB, free: 19.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.006452, allocations: 11.94 kB / 451.4 MB, free: 19.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.006455, allocations: 7.875 kB / 451.4 MB, free: 19.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.006494, allocations: 103 kB / 451.5 MB, free: 19.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006494, allocations: 0 / 451.5 MB, free: 19.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.006721, allocations: 27.89 kB / 451.5 MB, free: 19.33 MB / 334.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 6.589e-05/0.006786, allocations: 99.23 kB / 451.6 MB, free: 19.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.963e-05/0.006876, allocations: 24 kB / 451.6 MB, free: 19.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006878, allocations: 0 / 451.6 MB, free: 19.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.58e-05/0.006893, allocations: 16.05 kB / 451.6 MB, free: 19.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.007129, allocations: 14.19 kB / 451.6 MB, free: 19.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.007513, allocations: 237.4 kB / 451.9 MB, free: 18.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.723e-05/0.00756, allocations: 92.27 kB / 452 MB, free: 18.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.053e-05/0.007591, allocations: 7.922 kB / 452 MB, free: 18.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.007616, allocations: 16.48 kB / 452 MB, free: 18.78 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.007616, allocations: 0 / 452 MB, free: 18.78 MB / 334.1 MB Notification: Performance of Templates: time 0.002876/0.01049, allocations: 0.6036 MB / 452.6 MB, free: 18.19 MB / 334.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: 4.007879540324211] Failed to read output from testmodel.py, exit status != 0: 0.016169223934412003 0.025742172999999938 0.020113946999999938 Calling exit ...