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.001367/0.001367, allocations: 102.1 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.58/1.58, allocations: 230.6 MB / 253.4 MB, free: 14.61 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.001518/0.001518, allocations: 208.3 kB / 310 MB, free: 3.035 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.04068/0.04068, allocations: 8.921 MB / 375.3 MB, free: 6.785 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.002365/0.002365, allocations: 83.88 kB / 0.4904 GB, free: 44.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.1003, allocations: 55.63 MB / 0.5447 GB, free: 4.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003256/0.1036, allocations: 1.846 MB / 0.5465 GB, free: 2.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009054/0.1045, allocations: 0.5025 MB / 0.547 GB, free: 2.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.1046, allocations: 4 kB / 0.547 GB, free: 2.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1047, allocations: 15.84 kB / 0.5471 GB, free: 2.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.1048, allocations: 35.7 kB / 0.5471 GB, free: 2.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.1049, allocations: 27.91 kB / 0.5471 GB, free: 2.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1051, allocations: 123.5 kB / 0.5472 GB, free: 2.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1052, allocations: 29.3 kB / 0.5473 GB, free: 2.082 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.956e-05/0.1053, allocations: 51.84 kB / 0.5473 GB, free: 2.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.561e-05/0.1054, allocations: 47.77 kB / 0.5474 GB, free: 1.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.1054, allocations: 15.94 kB / 0.5474 GB, free: 1.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.387e-05/0.1055, allocations: 12 kB / 0.5474 GB, free: 1.957 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.1055, allocations: 19.92 kB / 0.5474 GB, free: 1.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.687e-05/0.1056, allocations: 55.73 kB / 0.5475 GB, free: 1.883 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.1058, allocations: 123.5 kB / 0.5476 GB, free: 1.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1058, allocations: 0 / 0.5476 GB, free: 1.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1058, allocations: 0 / 0.5476 GB, free: 1.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1058, allocations: 4 kB / 0.5476 GB, free: 1.758 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.000557/0.1063, allocations: 337.9 kB / 0.5479 GB, free: 1.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1064, allocations: 11.98 kB / 0.5479 GB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.1064, allocations: 12.89 kB / 0.5479 GB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1067, allocations: 146.3 kB / 0.5481 GB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1067, allocations: 4.375 kB / 0.5481 GB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.1067, allocations: 16.31 kB / 0.5481 GB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1069, allocations: 106 kB / 0.5482 GB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1069, allocations: 0 / 0.5482 GB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1069, allocations: 8 kB / 0.5482 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1069, allocations: 0 / 0.5482 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1071, allocations: 59.92 kB / 0.5483 GB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007893/0.1078, allocations: 469.4 kB / 0.5487 GB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.108, allocations: 50.56 kB / 0.5487 GB, free: 452 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.108, allocations: 24.86 kB / 0.5488 GB, free: 424 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.108, allocations: 4 kB / 0.5488 GB, free: 420 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.108, allocations: 30.56 kB / 0.5488 GB, free: 380 kB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.108, allocations: 0 / 0.5488 GB, free: 380 kB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001709/0.1082, allocations: 65.64 kB / 0.5489 GB, free: 308 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1083, allocations: 51.41 kB / 0.5489 GB, free: 244 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1084, allocations: 141.8 kB / 0.5491 GB, free: 92 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1084, allocations: 25.7 kB / 0.5491 GB, free: 60 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1085, allocations: 116.1 kB / 0.5492 GB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.1085, allocations: 19.89 kB / 0.5492 GB, free: 15.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1086, allocations: 17.72 kB / 0.5492 GB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1087, allocations: 326.8 kB / 0.5495 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.1087, allocations: 19.94 kB / 0.5496 GB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.604e-05/0.1088, allocations: 34.55 kB / 0.5496 GB, free: 15.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.63e-05/0.1089, allocations: 42.58 kB / 0.5496 GB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1089, allocations: 4 kB / 0.5496 GB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001245/0.109, allocations: 85.58 kB / 0.5497 GB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.109, allocations: 8.062 kB / 0.5497 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.109, allocations: 0 / 0.5497 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.109, allocations: 0 / 0.5497 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1091, allocations: 23.92 kB / 0.5497 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1091, allocations: 0 / 0.5497 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.1092, allocations: 7.891 kB / 0.5498 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.1092, allocations: 4 kB / 0.5498 GB, free: 15.32 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.354e-05/0.1093, allocations: 117.8 kB / 0.5499 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.1093, allocations: 7.953 kB / 0.5499 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.1093, allocations: 16.34 kB / 0.5499 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1093, allocations: 0 / 0.5499 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1093, allocations: 3.938 kB / 0.5499 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1093, allocations: 3.984 kB / 0.5499 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.1096, allocations: 168.6 kB / 0.5501 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1096, allocations: 0 / 0.5501 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.1096, allocations: 11.98 kB / 0.5501 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1096, allocations: 3.938 kB / 0.5501 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1096, allocations: 4 kB / 0.5501 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1096, allocations: 0 / 0.5501 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1096, allocations: 0 / 0.5501 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1098, allocations: 167.4 kB / 0.5502 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.1099, allocations: 7.953 kB / 0.5502 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1099, allocations: 8.016 kB / 0.5503 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.11, allocations: 0 / 0.5503 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.11, allocations: 4 kB / 0.5503 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.11, allocations: 0 / 0.5503 GB, free: 14.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.34e-05/0.1101, allocations: 114 kB / 0.5504 GB, free: 14.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1101, allocations: 0 / 0.5504 GB, free: 14.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1103, allocations: 27.95 kB / 0.5504 GB, free: 14.59 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 8.687e-05/0.1104, allocations: 95.19 kB / 0.5505 GB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.1105, allocations: 31.92 kB / 0.5505 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.1105, allocations: 4 kB / 0.5505 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.068e-05/0.1106, allocations: 11.94 kB / 0.5505 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.1108, allocations: 20.25 kB / 0.5505 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.1114, allocations: 293.6 kB / 0.5508 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1117, allocations: 0.7039 MB / 0.5515 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.1118, allocations: 11.44 kB / 0.5515 GB, free: 13.36 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1118, allocations: 0 / 0.5515 GB, free: 13.36 MB / 382.1 MB Notification: Performance of Templates: time 0.002872/0.1146, allocations: 1.123 MB / 0.5526 GB, free: 12.24 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: 7.108036387944594] Failed to read output from testmodel.py, exit status != 0: 0.12211034307256341 0.34140140700000005 0.028750646 Calling exit ...