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.001405/0.001405, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.509/1.509, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.00177/0.00177, allocations: 218.1 kB / 310 MB, free: 3.055 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.04111/0.04111, allocations: 8.926 MB / 375.3 MB, free: 6.566 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.002536/0.002536, allocations: 83.88 kB / 0.4903 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09498, allocations: 55.61 MB / 0.5447 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003277/0.09826, allocations: 1.76 MB / 0.5464 GB, free: 2.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009224/0.09918, allocations: 474.8 kB / 0.5468 GB, free: 2.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.09926, allocations: 0 / 0.5468 GB, free: 2.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.09937, allocations: 19.84 kB / 0.5468 GB, free: 2.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.09946, allocations: 35.7 kB / 0.5469 GB, free: 2.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.0996, allocations: 23.97 kB / 0.5469 GB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.09979, allocations: 123.4 kB / 0.547 GB, free: 2.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.09994, allocations: 41.22 kB / 0.5471 GB, free: 2.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.1, allocations: 43.86 kB / 0.5471 GB, free: 2.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.287e-05/0.1001, allocations: 43.77 kB / 0.5471 GB, free: 1.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.1001, allocations: 12 kB / 0.5472 GB, free: 1.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.428e-05/0.1002, allocations: 11.94 kB / 0.5472 GB, free: 1.965 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.1002, allocations: 23.86 kB / 0.5472 GB, free: 1.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.1002, allocations: 47.8 kB / 0.5472 GB, free: 1.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1004, allocations: 119.5 kB / 0.5473 GB, free: 1.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1004, allocations: 0 / 0.5473 GB, free: 1.777 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1004, allocations: 0 / 0.5473 GB, free: 1.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1004, allocations: 0 / 0.5473 GB, free: 1.777 MB / 366.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.0005687/0.101, allocations: 341.9 kB / 0.5477 GB, free: 1.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1011, allocations: 15.98 kB / 0.5477 GB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.1011, allocations: 8.891 kB / 0.5477 GB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.1014, allocations: 138.4 kB / 0.5478 GB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1014, allocations: 8.359 kB / 0.5478 GB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.1014, allocations: 16.31 kB / 0.5479 GB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.1016, allocations: 131.7 kB / 0.548 GB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1016, allocations: 0 / 0.548 GB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1017, allocations: 4 kB / 0.548 GB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1017, allocations: 8 kB / 0.548 GB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1018, allocations: 63.91 kB / 0.5481 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.1025, allocations: 410 kB / 0.5484 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1026, allocations: 46.5 kB / 0.5485 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.1027, allocations: 16.86 kB / 0.5485 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.1027, allocations: 0 / 0.5485 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.1027, allocations: 50.58 kB / 0.5486 GB, free: 428 kB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1027, allocations: 0 / 0.5486 GB, free: 428 kB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001831/0.1029, allocations: 61.64 kB / 0.5486 GB, free: 360 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.1029, allocations: 51.41 kB / 0.5487 GB, free: 296 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1031, allocations: 124.8 kB / 0.5488 GB, free: 160 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1031, allocations: 29.7 kB / 0.5488 GB, free: 124 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1032, allocations: 123.8 kB / 0.5489 GB, free: 15.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.1032, allocations: 15.89 kB / 0.5489 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.1033, allocations: 25.67 kB / 0.549 GB, free: 15.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1034, allocations: 318.8 kB / 0.5493 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/0.1034, allocations: 12 kB / 0.5493 GB, free: 15.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.675e-05/0.1035, allocations: 34.56 kB / 0.5493 GB, free: 15.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.165e-05/0.1036, allocations: 46.52 kB / 0.5494 GB, free: 15.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1036, allocations: 4 kB / 0.5494 GB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001265/0.1037, allocations: 81.56 kB / 0.5494 GB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1037, allocations: 4 kB / 0.5494 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1037, allocations: 8.156 kB / 0.5495 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.1037, allocations: 7.984 kB / 0.5495 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1038, allocations: 16 kB / 0.5495 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1038, allocations: 7.984 kB / 0.5495 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.1039, allocations: 11.89 kB / 0.5495 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.1039, allocations: 0 / 0.5495 GB, free: 15.38 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 9.748e-05/0.104, allocations: 117.8 kB / 0.5496 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.104, allocations: 7.953 kB / 0.5496 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.1041, allocations: 15.98 kB / 0.5496 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1041, allocations: 0 / 0.5496 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1041, allocations: 3.938 kB / 0.5496 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1041, allocations: 0 / 0.5496 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.1042, allocations: 129.3 kB / 0.5498 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1042, allocations: 7.938 kB / 0.5498 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.1043, allocations: 8 kB / 0.5498 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1043, allocations: 0 / 0.5498 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1043, allocations: 4 kB / 0.5498 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1043, allocations: 0 / 0.5498 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1043, allocations: 0 / 0.5498 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.1045, allocations: 167.4 kB / 0.5499 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.1045, allocations: 7.969 kB / 0.5499 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1045, allocations: 4 kB / 0.5499 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.1046, allocations: 4 kB / 0.5499 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.1046, allocations: 8.281 kB / 0.55 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1046, allocations: 0 / 0.55 GB, free: 14.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.365e-05/0.1047, allocations: 99.27 kB / 0.5501 GB, free: 14.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1047, allocations: 0 / 0.5501 GB, free: 14.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1049, allocations: 27.89 kB / 0.5501 GB, free: 14.71 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 9.653e-05/0.105, allocations: 91.25 kB / 0.5502 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.1052, allocations: 39.91 kB / 0.5502 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1052, allocations: 0 / 0.5502 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.067e-05/0.1052, allocations: 12.12 kB / 0.5502 GB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.1054, allocations: 17.8 kB / 0.5502 GB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.106, allocations: 305.3 kB / 0.5505 GB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.869e-05/0.1061, allocations: 84.19 kB / 0.5506 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.1061, allocations: 11.44 kB / 0.5506 GB, free: 14.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1061, allocations: 0 / 0.5506 GB, free: 14.1 MB / 382.1 MB Notification: Performance of Templates: time 0.002879/0.109, allocations: 1.094 MB / 0.5517 GB, free: 13.01 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.316457286011428] Failed to read output from testmodel.py, exit status != 0: 0.11703181779012084 0.34394585 0.028946051 Calling exit ...