Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.001348/0.001348, 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.344/1.344, allocations: 177.2 MB / 199.5 MB, free: 8.422 MB / 190.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.001391/0.001391, allocations: 160.3 kB / 256 MB, free: 4.316 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.0389/0.0389, allocations: 6.664 MB / 319 MB, free: 5.379 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.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") translateModel(HanserModelica.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.671e-05, allocations: 8.891 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.00157/0.001596, allocations: 1.23 MB / 447.1 MB, free: 23.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001165/0.001713, allocations: 31.88 kB / 447.1 MB, free: 23.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.001737, allocations: 4 kB / 447.2 MB, free: 23.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.001756, allocations: 7.875 kB / 447.2 MB, free: 23.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.196e-05/0.001788, allocations: 0 / 447.2 MB, free: 23.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.179e-05/0.00188, allocations: 3.938 kB / 447.2 MB, free: 23.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.154e-05/0.001931, allocations: 23.86 kB / 447.2 MB, free: 23.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.001973, allocations: 0 / 447.2 MB, free: 23.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/0.002004, allocations: 7.984 kB / 447.2 MB, free: 23.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.794e-05/0.002052, allocations: 7.984 kB / 447.2 MB, free: 23.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.002073, allocations: 0 / 447.2 MB, free: 23.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.814e-06/0.002081, allocations: 4 kB / 447.2 MB, free: 23.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.002093, allocations: 4 kB / 447.2 MB, free: 23.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.002111, allocations: 4 kB / 447.2 MB, free: 23.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.211e-05/0.002163, allocations: 15.92 kB / 447.2 MB, free: 23.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002165, allocations: 4 kB / 447.2 MB, free: 23.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.002165, allocations: 0 / 447.2 MB, free: 23.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.002169, allocations: 0 / 447.2 MB, free: 23.85 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002592/0.002428, allocations: 246.4 kB / 447.5 MB, free: 23.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.002459, allocations: 11.98 kB / 447.5 MB, free: 23.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.002482, allocations: 8.891 kB / 447.5 MB, free: 23.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.773e-05/0.00254, allocations: 109.7 kB / 447.6 MB, free: 23.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.00255, allocations: 384 / 447.6 MB, free: 23.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.002571, allocations: 4.375 kB / 447.6 MB, free: 23.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.288e-05/0.002643, allocations: 38.25 kB / 447.6 MB, free: 23.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.002651, allocations: 192 / 447.6 MB, free: 23.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.002659, allocations: 384 / 447.6 MB, free: 23.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.002663, allocations: 384 / 447.6 MB, free: 23.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.377e-05/0.002697, allocations: 7.938 kB / 447.7 MB, free: 23.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.002813, allocations: 109.3 kB / 447.8 MB, free: 23.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.64e-05/0.00289, allocations: 38.55 kB / 447.8 MB, free: 23.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.002916, allocations: 12.86 kB / 447.8 MB, free: 23.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.002929, allocations: 4 kB / 447.8 MB, free: 23.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.002947, allocations: 30.56 kB / 447.8 MB, free: 23.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.002948, allocations: 0 / 447.8 MB, free: 23.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001261/0.003074, allocations: 49.78 kB / 447.9 MB, free: 23.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.003093, allocations: 51.41 kB / 447.9 MB, free: 23.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.568e-05/0.003139, allocations: 109.7 kB / 448 MB, free: 22.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.003145, allocations: 25.7 kB / 448.1 MB, free: 22.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.942e-05/0.003165, allocations: 80.14 kB / 448.2 MB, free: 22.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.003188, allocations: 27.77 kB / 448.2 MB, free: 22.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.003209, allocations: 9.719 kB / 448.2 MB, free: 22.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.282e-05/0.003252, allocations: 322.8 kB / 448.5 MB, free: 22.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.003266, allocations: 7.984 kB / 448.5 MB, free: 22.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-06/0.003275, allocations: 4 kB / 448.5 MB, free: 22.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.003305, allocations: 17.33 kB / 448.5 MB, free: 22.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.003306, allocations: 3.938 kB / 448.5 MB, free: 22.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.097e-05/0.003357, allocations: 49.67 kB / 448.6 MB, free: 22.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.003368, allocations: 4 kB / 448.6 MB, free: 22.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.003372, allocations: 0 / 448.6 MB, free: 22.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.003387, allocations: 3.938 kB / 448.6 MB, free: 22.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.003463, allocations: 12 kB / 448.6 MB, free: 22.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.003467, allocations: 0 / 448.6 MB, free: 22.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.003484, allocations: 15.92 kB / 448.6 MB, free: 22.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-06/0.003487, allocations: 0 / 448.6 MB, free: 22.29 MB / 334.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 3.754e-05/0.003525, allocations: 105.8 kB / 448.7 MB, free: 22.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-06/0.003533, allocations: 7.953 kB / 448.7 MB, free: 22.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.71e-05/0.00355, allocations: 7.688 kB / 448.7 MB, free: 22.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.003551, allocations: 0 / 448.7 MB, free: 22.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.003555, allocations: 0 / 448.7 MB, free: 22.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.003558, allocations: 3.938 kB / 448.7 MB, free: 22.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.507e-05/0.003603, allocations: 101.3 kB / 448.8 MB, free: 22.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.003604, allocations: 0 / 448.8 MB, free: 22.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.003661, allocations: 12 kB / 448.9 MB, free: 22.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.003662, allocations: 0 / 448.9 MB, free: 22.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.003671, allocations: 8 kB / 448.9 MB, free: 22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.003672, allocations: 4 kB / 448.9 MB, free: 22 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.003673, allocations: 0 / 448.9 MB, free: 22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.697e-05/0.00377, allocations: 80.98 kB / 448.9 MB, free: 21.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-06/0.003775, allocations: 0 / 448.9 MB, free: 21.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.003786, allocations: 4.031 kB / 448.9 MB, free: 21.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.736e-05/0.003803, allocations: 4 kB / 449 MB, free: 21.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.003822, allocations: 0 / 449 MB, free: 21.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.003824, allocations: 0 / 449 MB, free: 21.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.077e-05/0.003845, allocations: 83.34 kB / 449 MB, free: 21.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.003845, allocations: 0 / 449 MB, free: 21.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001699/0.004015, allocations: 7.938 kB / 449 MB, free: 21.8 MB / 334.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.64e-05/0.004071, allocations: 95.23 kB / 449.1 MB, free: 21.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.567e-05/0.004147, allocations: 19.94 kB / 449.2 MB, free: 21.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.004148, allocations: 0 / 449.2 MB, free: 21.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/0.00416, allocations: 7.984 kB / 449.2 MB, free: 21.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.004299, allocations: 7.938 kB / 449.2 MB, free: 21.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.004585, allocations: 153.1 kB / 449.3 MB, free: 21.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.706e-05/0.004612, allocations: 59.34 kB / 449.4 MB, free: 21.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.277e-05/0.004625, allocations: 3.953 kB / 449.4 MB, free: 21.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.004645, allocations: 12.5 kB / 449.4 MB, free: 21.4 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.004645, allocations: 3.938 kB / 449.4 MB, free: 21.39 MB / 334.1 MB Notification: Performance of Templates: time 0.002153/0.006798, allocations: 253.8 kB / 449.6 MB, free: 21.15 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.043561320751905] Failed to read output from testmodel.py, exit status != 0: 0.012203890830278397 0.021354965 0.017232673 Calling exit ...