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.001546/0.001546, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.631/1.631, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001743/0.001743, allocations: 219.5 kB / 309.2 MB, free: 3.117 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.04586/0.04586, allocations: 8.937 MB / 374.6 MB, free: 6.57 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.002881/0.002881, allocations: 79.88 kB / 0.4896 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1025, allocations: 55.62 MB / 0.5439 GB, free: 4.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003483/0.106, allocations: 1.747 MB / 0.5456 GB, free: 2.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.107, allocations: 478.8 kB / 0.5461 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.1072, allocations: 0 / 0.5461 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.1073, allocations: 23.78 kB / 0.5461 GB, free: 2.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.1074, allocations: 35.7 kB / 0.5461 GB, free: 2.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.1076, allocations: 27.91 kB / 0.5462 GB, free: 2.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.1078, allocations: 119.5 kB / 0.5463 GB, free: 2.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1079, allocations: 37.23 kB / 0.5463 GB, free: 2.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.415e-05/0.108, allocations: 47.8 kB / 0.5464 GB, free: 2.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.389e-05/0.1081, allocations: 35.78 kB / 0.5464 GB, free: 1.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.1081, allocations: 12 kB / 0.5464 GB, free: 1.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.679e-05/0.1082, allocations: 8 kB / 0.5464 GB, free: 1.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.1082, allocations: 27.91 kB / 0.5464 GB, free: 1.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.1083, allocations: 47.8 kB / 0.5465 GB, free: 1.902 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.1085, allocations: 119.5 kB / 0.5466 GB, free: 1.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1085, allocations: 0 / 0.5466 GB, free: 1.785 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1085, allocations: 3.938 kB / 0.5466 GB, free: 1.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.1085, allocations: 7.984 kB / 0.5466 GB, free: 1.773 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.0006035/0.1091, allocations: 337.9 kB / 0.5469 GB, free: 1.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1091, allocations: 15.98 kB / 0.547 GB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.1092, allocations: 8.891 kB / 0.547 GB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.1095, allocations: 138.4 kB / 0.5471 GB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1095, allocations: 4.375 kB / 0.5471 GB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.1096, allocations: 16.31 kB / 0.5471 GB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.1098, allocations: 131.7 kB / 0.5472 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1098, allocations: 3.984 kB / 0.5472 GB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.1098, allocations: 8 kB / 0.5473 GB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1098, allocations: 4 kB / 0.5473 GB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1099, allocations: 55.92 kB / 0.5473 GB, free: 1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008025/0.1107, allocations: 414 kB / 0.5477 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1109, allocations: 50.44 kB / 0.5478 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.1109, allocations: 16.86 kB / 0.5478 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.1109, allocations: 4 kB / 0.5478 GB, free: 484 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.1109, allocations: 34.56 kB / 0.5478 GB, free: 440 kB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1109, allocations: 4 kB / 0.5478 GB, free: 436 kB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001928/0.1111, allocations: 65.67 kB / 0.5479 GB, free: 364 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.1112, allocations: 55.39 kB / 0.5479 GB, free: 296 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1113, allocations: 126 kB / 0.548 GB, free: 156 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1113, allocations: 29.7 kB / 0.5481 GB, free: 120 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1115, allocations: 119.9 kB / 0.5482 GB, free: 15.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.1115, allocations: 15.84 kB / 0.5482 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.1115, allocations: 21.67 kB / 0.5482 GB, free: 15.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1117, allocations: 322.8 kB / 0.5485 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.1117, allocations: 16 kB / 0.5485 GB, free: 15.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.244e-05/0.1118, allocations: 30.56 kB / 0.5486 GB, free: 15.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.716e-05/0.1118, allocations: 46.52 kB / 0.5486 GB, free: 15.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1118, allocations: 0 / 0.5486 GB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001514/0.112, allocations: 85.56 kB / 0.5487 GB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.112, allocations: 4 kB / 0.5487 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.112, allocations: 0 / 0.5487 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.112, allocations: 4 kB / 0.5487 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1121, allocations: 20.05 kB / 0.5487 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1121, allocations: 0 / 0.5487 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.1122, allocations: 11.89 kB / 0.5487 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1122, allocations: 0 / 0.5487 GB, free: 15.39 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 0.0001118/0.1123, allocations: 121.7 kB / 0.5489 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.1123, allocations: 7.953 kB / 0.5489 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.1124, allocations: 12 kB / 0.5489 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1124, allocations: 3.984 kB / 0.5489 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1124, allocations: 0 / 0.5489 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1124, allocations: 192 / 0.5489 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.1126, allocations: 137.3 kB / 0.549 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.1126, allocations: 8 kB / 0.549 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.1126, allocations: 11.98 kB / 0.549 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1126, allocations: 0 / 0.549 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1127, allocations: 0 / 0.549 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1127, allocations: 7.938 kB / 0.549 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1127, allocations: 0 / 0.549 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1129, allocations: 167.4 kB / 0.5492 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.1129, allocations: 3.969 kB / 0.5492 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1129, allocations: 4 kB / 0.5492 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.113, allocations: 8.062 kB / 0.5492 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.113, allocations: 7.984 kB / 0.5492 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.113, allocations: 0 / 0.5492 GB, free: 14.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.995e-05/0.1131, allocations: 102.8 kB / 0.5493 GB, free: 14.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1131, allocations: 0 / 0.5493 GB, free: 14.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1134, allocations: 27.89 kB / 0.5493 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 0.0001007/0.1135, allocations: 91.25 kB / 0.5494 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.1136, allocations: 35.92 kB / 0.5495 GB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1136, allocations: 3.938 kB / 0.5495 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/0.1136, allocations: 16.12 kB / 0.5495 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.0002614/0.1139, allocations: 3.938 kB / 0.5495 GB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.1145, allocations: 279.8 kB / 0.5498 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.663e-05/0.1146, allocations: 88.14 kB / 0.5498 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.055e-05/0.1146, allocations: 7.984 kB / 0.5498 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.1146, allocations: 11.44 kB / 0.5499 GB, free: 14.13 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1146, allocations: 0 / 0.5499 GB, free: 14.13 MB / 382.1 MB Notification: Performance of Templates: time 0.003489/0.1181, allocations: 0.6897 MB / 0.5505 GB, free: 13.45 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: 5.433552913367748] Failed to read output from testmodel.py, exit status != 0: 0.12674747593700886 0.382621171 0.03419619 Calling exit ...