Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.0008079/0.0008079, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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 0.8661/0.8661, allocations: 177.2 MB / 200.2 MB, free: 5.906 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.0009517/0.0009517, allocations: 160.6 kB / 256.7 MB, free: 13.32 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.02202/0.02202, allocations: 6.668 MB / 319.8 MB, free: 26.74 MB / 266.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.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 446.6 MB, free: 37.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.812e-05, allocations: 2.281 kB / 446.6 MB, free: 37 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.001852/0.00187, allocations: 2.16 MB / 448.8 MB, free: 34.83 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005593/0.00243, allocations: 0.5025 MB / 449.3 MB, free: 34.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.002525, allocations: 7.938 kB / 449.3 MB, free: 34.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.002639, allocations: 31.72 kB / 449.3 MB, free: 34.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.002692, allocations: 31.66 kB / 449.4 MB, free: 34.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.002831, allocations: 47.92 kB / 449.4 MB, free: 34.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.002959, allocations: 167.2 kB / 449.6 MB, free: 34.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.003081, allocations: 50.27 kB / 449.6 MB, free: 34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.819e-05/0.003149, allocations: 83.81 kB / 449.7 MB, free: 33.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.003219, allocations: 47.86 kB / 449.8 MB, free: 33.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.003248, allocations: 16 kB / 449.8 MB, free: 33.85 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.003262, allocations: 15.94 kB / 449.8 MB, free: 33.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.003282, allocations: 39.91 kB / 449.8 MB, free: 33.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.003315, allocations: 51.83 kB / 449.9 MB, free: 33.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.003456, allocations: 167.4 kB / 450.1 MB, free: 33.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003458, allocations: 7.875 kB / 450.1 MB, free: 33.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.003458, allocations: 0 / 450.1 MB, free: 33.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.003463, allocations: 0 / 450.1 MB, free: 33.57 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0003902/0.003853, allocations: 377.7 kB / 450.4 MB, free: 33.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.003883, allocations: 8.031 kB / 450.4 MB, free: 33.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.003918, allocations: 20.84 kB / 450.5 MB, free: 33.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.004084, allocations: 161.5 kB / 450.6 MB, free: 32.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.004095, allocations: 12.38 kB / 450.6 MB, free: 32.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.004119, allocations: 12.38 kB / 450.6 MB, free: 32.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.004307, allocations: 192.4 kB / 450.8 MB, free: 32.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.004316, allocations: 192 / 450.8 MB, free: 32.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.004329, allocations: 4.375 kB / 450.8 MB, free: 32.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.004335, allocations: 7.938 kB / 450.8 MB, free: 32.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.004446, allocations: 96.67 kB / 450.9 MB, free: 32.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.004924, allocations: 0.6367 MB / 451.6 MB, free: 31.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.005042, allocations: 74.55 kB / 451.6 MB, free: 31.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.00508, allocations: 32.84 kB / 451.7 MB, free: 31.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.984e-06/0.005087, allocations: 0 / 451.7 MB, free: 31.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.005103, allocations: 42.56 kB / 451.7 MB, free: 31.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.005104, allocations: 0 / 451.7 MB, free: 31.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001889/0.005293, allocations: 97.61 kB / 451.8 MB, free: 31.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.832e-05/0.005312, allocations: 55.41 kB / 451.9 MB, free: 31.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.005382, allocations: 154.4 kB / 452 MB, free: 31.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.005389, allocations: 29.64 kB / 452 MB, free: 31.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.005427, allocations: 139.7 kB / 452.2 MB, free: 31.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.005439, allocations: 31.92 kB / 452.2 MB, free: 31.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.005468, allocations: 29.67 kB / 452.2 MB, free: 31.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.45e-05/0.005492, allocations: 330.8 kB / 452.6 MB, free: 30.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.613e-05/0.005528, allocations: 27.98 kB / 452.6 MB, free: 30.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-05/0.005569, allocations: 64.28 kB / 452.7 MB, free: 30.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.907e-05/0.005648, allocations: 96.16 kB / 452.7 MB, free: 30.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00565, allocations: 0 / 452.7 MB, free: 30.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001246/0.005775, allocations: 133.5 kB / 452.9 MB, free: 30.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.005787, allocations: 4 kB / 452.9 MB, free: 30.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.005792, allocations: 4 kB / 452.9 MB, free: 30.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.005804, allocations: 0 / 452.9 MB, free: 30.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.005886, allocations: 31.92 kB / 452.9 MB, free: 30.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.005891, allocations: 4 kB / 452.9 MB, free: 30.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.005924, allocations: 7.953 kB / 452.9 MB, free: 30.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.005929, allocations: 4 kB / 452.9 MB, free: 30.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.755e-05/0.005977, allocations: 133.7 kB / 453.1 MB, free: 30.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.005992, allocations: 12.05 kB / 453.1 MB, free: 30.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.00601, allocations: 16.77 kB / 453.1 MB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.006013, allocations: 4 kB / 453.1 MB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.006016, allocations: 0 / 453.1 MB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.006018, allocations: 3.984 kB / 453.1 MB, free: 30.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.918e-05/0.006107, allocations: 149.2 kB / 453.2 MB, free: 30.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006108, allocations: 0 / 453.2 MB, free: 30.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.006159, allocations: 15.98 kB / 453.3 MB, free: 30.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.00616, allocations: 0 / 453.3 MB, free: 30.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.006167, allocations: 4 kB / 453.3 MB, free: 30.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006168, allocations: 4 kB / 453.3 MB, free: 30.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006169, allocations: 0 / 453.3 MB, free: 30.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.00631, allocations: 219.3 kB / 453.5 MB, free: 29.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.006322, allocations: 7.984 kB / 453.5 MB, free: 29.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.006333, allocations: 0 / 453.5 MB, free: 29.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.006379, allocations: 8 kB / 453.5 MB, free: 29.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.006403, allocations: 7.984 kB / 453.5 MB, free: 29.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.006406, allocations: 0 / 453.5 MB, free: 29.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.406e-05/0.00644, allocations: 114.4 kB / 453.6 MB, free: 29.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00644, allocations: 64 / 453.6 MB, free: 29.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001564/0.006596, allocations: 43.83 kB / 453.7 MB, free: 29.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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.188e-05/0.006648, allocations: 91.25 kB / 453.8 MB, free: 29.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.006756, allocations: 68 kB / 453.8 MB, free: 29.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006757, allocations: 192 / 453.8 MB, free: 29.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.862e-05/0.006786, allocations: 27.92 kB / 453.8 MB, free: 29.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.006982, allocations: 19.88 kB / 453.9 MB, free: 29.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.007395, allocations: 347.8 kB / 454.2 MB, free: 29.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.446e-05/0.007439, allocations: 114.8 kB / 454.3 MB, free: 28.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.007463, allocations: 16.44 kB / 454.3 MB, free: 28.94 MB / 330.7 MB Notification: Performance of SimCode: time 3.51e-07/0.007464, allocations: 0 / 454.3 MB, free: 28.94 MB / 330.7 MB Notification: Performance of Templates: time 0.001706/0.009169, allocations: 1.557 MB / 455.9 MB, free: 27.38 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & ./HanserModelica_HanserModelica.Electrical.Signals -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.178453431464732] Failed to read output from testmodel.py, exit status != 0: 0.012976052239537239 0.018733008000000002 0.014015739000000001 Calling exit ...