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.001742/0.001742, allocations: 114.3 kB / 18.94 MB, free: 2.781 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.742/1.742, allocations: 230.6 MB / 252.6 MB, free: 8.316 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.001782/0.001782, allocations: 218.9 kB / 309.2 MB, free: 3.168 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.06149/0.06149, allocations: 8.916 MB / 374.6 MB, free: 1.918 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.002964/0.002964, allocations: 91.86 kB / 0.4897 GB, free: 6.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2881, allocations: 55.6 MB / 0.544 GB, free: 27.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002796/0.2909, allocations: 1.855 MB / 0.5458 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007595/0.2916, allocations: 0.4935 MB / 0.5463 GB, free: 25.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.2917, allocations: 4 kB / 0.5463 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.2918, allocations: 21.44 kB / 0.5463 GB, free: 25.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.2919, allocations: 33.53 kB / 0.5463 GB, free: 25.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.292, allocations: 30.16 kB / 0.5464 GB, free: 25.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.2922, allocations: 118.4 kB / 0.5465 GB, free: 25.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.2923, allocations: 37.72 kB / 0.5465 GB, free: 25.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.2924, allocations: 45.81 kB / 0.5466 GB, free: 25.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.431e-05/0.2925, allocations: 47.73 kB / 0.5466 GB, free: 25.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.2925, allocations: 12.72 kB / 0.5466 GB, free: 25.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.2925, allocations: 14.03 kB / 0.5466 GB, free: 25.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.2925, allocations: 28.66 kB / 0.5467 GB, free: 25.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.2926, allocations: 50.88 kB / 0.5467 GB, free: 25.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.2927, allocations: 126.7 kB / 0.5468 GB, free: 25.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2928, allocations: 0 / 0.5468 GB, free: 25.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2928, allocations: 0 / 0.5468 GB, free: 25.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.2928, allocations: 0 / 0.5468 GB, free: 25.13 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.0004559/0.2932, allocations: 337 kB / 0.5471 GB, free: 24.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2932, allocations: 13.69 kB / 0.5472 GB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.2933, allocations: 11.3 kB / 0.5472 GB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.2935, allocations: 139 kB / 0.5473 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2935, allocations: 7.594 kB / 0.5473 GB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.2935, allocations: 13.84 kB / 0.5473 GB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.2937, allocations: 102.5 kB / 0.5474 GB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2937, allocations: 3.516 kB / 0.5474 GB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.2937, allocations: 7.25 kB / 0.5474 GB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2937, allocations: 4 kB / 0.5474 GB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.2938, allocations: 58.8 kB / 0.5475 GB, free: 24.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.2944, allocations: 471.9 kB / 0.5479 GB, free: 24.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.681e-05/0.2945, allocations: 50.03 kB / 0.548 GB, free: 24.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.2946, allocations: 22.61 kB / 0.548 GB, free: 24.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.2946, allocations: 0 / 0.548 GB, free: 24.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.2946, allocations: 33.47 kB / 0.548 GB, free: 24.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2946, allocations: 0 / 0.548 GB, free: 24.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001796/0.2948, allocations: 66.58 kB / 0.5481 GB, free: 24.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.2948, allocations: 58.62 kB / 0.5482 GB, free: 23.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2949, allocations: 140.1 kB / 0.5483 GB, free: 23.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.2949, allocations: 25.7 kB / 0.5483 GB, free: 23.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.295, allocations: 125.1 kB / 0.5484 GB, free: 23.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.295, allocations: 11.47 kB / 0.5484 GB, free: 23.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.295, allocations: 19.84 kB / 0.5485 GB, free: 23.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.2951, allocations: 326.2 kB / 0.5488 GB, free: 23.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.869e-05/0.2951, allocations: 16.44 kB / 0.5488 GB, free: 23.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.2952, allocations: 31.64 kB / 0.5488 GB, free: 23.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.655e-05/0.2952, allocations: 53.31 kB / 0.5489 GB, free: 23.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2952, allocations: 0 / 0.5489 GB, free: 23.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.728e-05/0.2953, allocations: 78.97 kB / 0.5489 GB, free: 23.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2953, allocations: 6.344 kB / 0.549 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2953, allocations: 0 / 0.549 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2954, allocations: 7.156 kB / 0.549 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.2955, allocations: 13.05 kB / 0.549 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2955, allocations: 3.281 kB / 0.549 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.2955, allocations: 15.95 kB / 0.549 GB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.2955, allocations: 3.438 kB / 0.549 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.033e-05/0.2956, allocations: 121.9 kB / 0.5491 GB, free: 23.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.2956, allocations: 7.172 kB / 0.5491 GB, free: 23.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.2956, allocations: 12.28 kB / 0.5491 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2956, allocations: 3.219 kB / 0.5491 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2956, allocations: 3.188 kB / 0.5491 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2956, allocations: 0 / 0.5491 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.2958, allocations: 168.7 kB / 0.5493 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2958, allocations: 4 kB / 0.5493 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.5e-05/0.2958, allocations: 12.94 kB / 0.5493 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2958, allocations: 0 / 0.5493 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2958, allocations: 4.062 kB / 0.5493 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2958, allocations: 0 / 0.5493 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2958, allocations: 7.016 kB / 0.5493 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.296, allocations: 164.5 kB / 0.5495 GB, free: 22.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.296, allocations: 7.234 kB / 0.5495 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.296, allocations: 4.062 kB / 0.5495 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.2961, allocations: 3.25 kB / 0.5495 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.2961, allocations: 7.125 kB / 0.5495 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2961, allocations: 7.375 kB / 0.5495 GB, free: 22.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.119e-05/0.2962, allocations: 106.1 kB / 0.5496 GB, free: 22.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2962, allocations: 0 / 0.5496 GB, free: 22.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.2964, allocations: 27.33 kB / 0.5496 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.457e-05/0.2965, allocations: 96.62 kB / 0.5497 GB, free: 22.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.2966, allocations: 26.66 kB / 0.5498 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2966, allocations: 3.938 kB / 0.5498 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.847e-05/0.2966, allocations: 13.66 kB / 0.5498 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.0002528/0.2969, allocations: 18.36 kB / 0.5498 GB, free: 22.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.2973, allocations: 279 kB / 0.5501 GB, free: 22.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.2974, allocations: 0.6983 MB / 0.5507 GB, free: 21.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.2974, allocations: 14.2 kB / 0.5507 GB, free: 21.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.2975, allocations: 10.56 kB / 0.5508 GB, free: 21.6 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2975, allocations: 3.938 kB / 0.5508 GB, free: 21.59 MB / 382.1 MB Notification: Performance of Templates: time 0.003132/0.3006, allocations: 0.7569 MB / 0.5515 GB, free: 21.5 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: 5.098083483055234] Failed to read output from testmodel.py, exit status != 0: 0.3089728800114244 0.31886893399999994 0.023496211000000003 Calling exit ...