Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.001425/0.001425, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.54/1.54, allocations: 230.6 MB / 253.4 MB, free: 8.266 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.001744/0.001744, allocations: 213.2 kB / 310 MB, free: 3.133 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.04063/0.04063, allocations: 8.915 MB / 375.3 MB, free: 1.891 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.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") [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.002445/0.002445, allocations: 91.86 kB / 0.4904 GB, free: 6.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3228, allocations: 55.6 MB / 0.5447 GB, free: 27.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002537/0.3253, allocations: 1.848 MB / 0.5465 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006788/0.326, allocations: 0.4927 MB / 0.547 GB, free: 25.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.3261, allocations: 3.094 kB / 0.547 GB, free: 25.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.3262, allocations: 18.7 kB / 0.547 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.3263, allocations: 29.7 kB / 0.5471 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.3264, allocations: 25.31 kB / 0.5471 GB, free: 25.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.3266, allocations: 128.9 kB / 0.5472 GB, free: 25.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3267, allocations: 33.52 kB / 0.5472 GB, free: 25.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.666e-05/0.3267, allocations: 46.62 kB / 0.5473 GB, free: 25.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/0.3268, allocations: 52.36 kB / 0.5473 GB, free: 25.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3268, allocations: 8.812 kB / 0.5473 GB, free: 25.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.949e-05/0.3269, allocations: 11.94 kB / 0.5474 GB, free: 25.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.3269, allocations: 18.31 kB / 0.5474 GB, free: 25.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.3269, allocations: 68.2 kB / 0.5474 GB, free: 25.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.3271, allocations: 119.4 kB / 0.5476 GB, free: 25.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3271, allocations: 0 / 0.5476 GB, free: 25.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3271, allocations: 6.938 kB / 0.5476 GB, free: 25.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3271, allocations: 0 / 0.5476 GB, free: 25.14 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000433/0.3275, allocations: 340.3 kB / 0.5479 GB, free: 24.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3276, allocations: 9.406 kB / 0.5479 GB, free: 24.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.3276, allocations: 15.14 kB / 0.5479 GB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.3278, allocations: 131.5 kB / 0.548 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3278, allocations: 10.91 kB / 0.548 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.3278, allocations: 10.75 kB / 0.5481 GB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.328, allocations: 109.8 kB / 0.5482 GB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.328, allocations: 0 / 0.5482 GB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.328, allocations: 10.81 kB / 0.5482 GB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.328, allocations: 2.844 kB / 0.5482 GB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.888e-05/0.3281, allocations: 58.19 kB / 0.5482 GB, free: 24.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.3287, allocations: 475.1 kB / 0.5487 GB, free: 24.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.392e-05/0.3288, allocations: 46.2 kB / 0.5487 GB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.3288, allocations: 15.33 kB / 0.5487 GB, free: 24.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.3288, allocations: 3.984 kB / 0.5487 GB, free: 24.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3288, allocations: 33.44 kB / 0.5488 GB, free: 24.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.3288, allocations: 0 / 0.5488 GB, free: 24.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001554/0.329, allocations: 71.72 kB / 0.5488 GB, free: 24.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.329, allocations: 54.5 kB / 0.5489 GB, free: 23.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.691e-05/0.3291, allocations: 143.8 kB / 0.549 GB, free: 23.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.3291, allocations: 25.7 kB / 0.5491 GB, free: 23.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.3292, allocations: 121.1 kB / 0.5492 GB, free: 23.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.3292, allocations: 11.12 kB / 0.5492 GB, free: 23.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.3292, allocations: 20.31 kB / 0.5492 GB, free: 23.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.3292, allocations: 322.1 kB / 0.5495 GB, free: 23.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.3293, allocations: 17.91 kB / 0.5495 GB, free: 23.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.087e-05/0.3293, allocations: 32.36 kB / 0.5496 GB, free: 23.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.134e-05/0.3294, allocations: 50.09 kB / 0.5496 GB, free: 23.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3294, allocations: 0 / 0.5496 GB, free: 23.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.987e-05/0.3294, allocations: 80.44 kB / 0.5497 GB, free: 23.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3295, allocations: 7.344 kB / 0.5497 GB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3295, allocations: 7.156 kB / 0.5497 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3295, allocations: 0 / 0.5497 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.3296, allocations: 20.22 kB / 0.5497 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3296, allocations: 160 / 0.5497 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.3296, allocations: 11.11 kB / 0.5497 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.3296, allocations: 11.2 kB / 0.5497 GB, free: 23.22 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 6.37e-05/0.3297, allocations: 122.7 kB / 0.5498 GB, free: 23.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.3297, allocations: 7.078 kB / 0.5499 GB, free: 23.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.3297, allocations: 18.86 kB / 0.5499 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3297, allocations: 0 / 0.5499 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3297, allocations: 0 / 0.5499 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3297, allocations: 0 / 0.5499 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.3299, allocations: 164.4 kB / 0.55 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3299, allocations: 0 / 0.55 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.157e-05/0.3299, allocations: 13.53 kB / 0.55 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3299, allocations: 3.375 kB / 0.55 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.33, allocations: 4 kB / 0.5501 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.33, allocations: 0 / 0.5501 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.33, allocations: 4 kB / 0.5501 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.3301, allocations: 166.6 kB / 0.5502 GB, free: 22.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.3301, allocations: 15.23 kB / 0.5502 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.3301, allocations: 0 / 0.5502 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.3302, allocations: 3.156 kB / 0.5502 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.3302, allocations: 3.422 kB / 0.5502 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3302, allocations: 3.188 kB / 0.5502 GB, free: 22.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.3303, allocations: 112.4 kB / 0.5503 GB, free: 22.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3303, allocations: 0 / 0.5503 GB, free: 22.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.3305, allocations: 27.92 kB / 0.5504 GB, free: 22.64 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 6.047e-05/0.3306, allocations: 91.59 kB / 0.5505 GB, free: 22.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.3307, allocations: 33.83 kB / 0.5505 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3307, allocations: 3.5 kB / 0.5505 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.618e-05/0.3307, allocations: 10.09 kB / 0.5505 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3309, allocations: 21.44 kB / 0.5505 GB, free: 22.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.3314, allocations: 294.6 kB / 0.5508 GB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.3315, allocations: 0.7059 MB / 0.5515 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.3315, allocations: 10.56 kB / 0.5515 GB, free: 21.58 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3315, allocations: 3.938 kB / 0.5515 GB, free: 21.58 MB / 382.1 MB Notification: Performance of Templates: time 0.00244/0.3339, allocations: 1.122 MB / 0.5526 GB, free: 21.48 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.214407884981483] Failed to read output from testmodel.py, exit status != 0: 0.3417525039985776 0.351781657 0.022116432000000002 Calling exit ...