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.001583/0.001583, 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.592/1.592, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001819/0.001819, allocations: 216.8 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.04268/0.04268, allocations: 8.922 MB / 374.6 MB, free: 6.621 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.003078/0.003078, allocations: 87.88 kB / 0.4896 GB, free: 44.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.12, allocations: 55.61 MB / 0.5439 GB, free: 4.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003659/0.1237, allocations: 1.774 MB / 0.5457 GB, free: 2.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.1247, allocations: 470.9 kB / 0.5461 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-05/0.1248, allocations: 0 / 0.5461 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.1249, allocations: 23.78 kB / 0.5461 GB, free: 2.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.545e-05/0.125, allocations: 31.72 kB / 0.5462 GB, free: 2.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.1252, allocations: 23.97 kB / 0.5462 GB, free: 2.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1254, allocations: 127.4 kB / 0.5463 GB, free: 2.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1255, allocations: 33.23 kB / 0.5463 GB, free: 2.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.091e-05/0.1256, allocations: 47.8 kB / 0.5464 GB, free: 2.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.1257, allocations: 43.78 kB / 0.5464 GB, free: 2.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.1257, allocations: 12 kB / 0.5464 GB, free: 2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.334e-05/0.1257, allocations: 8 kB / 0.5464 GB, free: 1.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.255e-05/0.1258, allocations: 23.92 kB / 0.5465 GB, free: 1.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.785e-05/0.1258, allocations: 55.72 kB / 0.5465 GB, free: 1.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.126, allocations: 115.5 kB / 0.5466 GB, free: 1.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.126, allocations: 0 / 0.5466 GB, free: 1.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.126, allocations: 0 / 0.5466 GB, free: 1.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.1261, allocations: 0 / 0.5466 GB, free: 1.801 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.0006422/0.1267, allocations: 345.8 kB / 0.547 GB, free: 1.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1267, allocations: 15.98 kB / 0.547 GB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.1268, allocations: 8.891 kB / 0.547 GB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1271, allocations: 138.4 kB / 0.5471 GB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1271, allocations: 12.31 kB / 0.5471 GB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.1271, allocations: 12.38 kB / 0.5471 GB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.1274, allocations: 127.7 kB / 0.5473 GB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1274, allocations: 0 / 0.5473 GB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.1274, allocations: 4 kB / 0.5473 GB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.1274, allocations: 4 kB / 0.5473 GB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.1275, allocations: 67.91 kB / 0.5473 GB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007981/0.1283, allocations: 410 kB / 0.5477 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1285, allocations: 50.5 kB / 0.5478 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.1285, allocations: 24.78 kB / 0.5478 GB, free: 500 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.1285, allocations: 0 / 0.5478 GB, free: 500 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1285, allocations: 30.56 kB / 0.5478 GB, free: 460 kB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 4.699e-06/0.1285, allocations: 8 kB / 0.5478 GB, free: 452 kB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002132/0.1288, allocations: 65.67 kB / 0.5479 GB, free: 380 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.1288, allocations: 51.41 kB / 0.5479 GB, free: 316 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.129, allocations: 130.1 kB / 0.5481 GB, free: 172 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.129, allocations: 25.7 kB / 0.5481 GB, free: 140 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.672e-05/0.1291, allocations: 123.8 kB / 0.5482 GB, free: 12 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.1291, allocations: 11.89 kB / 0.5482 GB, free: 0 / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.1291, allocations: 21.72 kB / 0.5482 GB, free: 15.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1293, allocations: 322.8 kB / 0.5485 GB, free: 15.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.1294, allocations: 12 kB / 0.5486 GB, free: 15.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.826e-05/0.1294, allocations: 30.56 kB / 0.5486 GB, free: 15.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.298e-05/0.1295, allocations: 54.52 kB / 0.5486 GB, free: 15.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1295, allocations: 0 / 0.5486 GB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001266/0.1296, allocations: 85.56 kB / 0.5487 GB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.1296, allocations: 4 kB / 0.5487 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1297, allocations: 0 / 0.5487 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1297, allocations: 4 kB / 0.5487 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1298, allocations: 15.98 kB / 0.5487 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1298, allocations: 0 / 0.5487 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1298, allocations: 15.95 kB / 0.5488 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.1298, allocations: 0 / 0.5488 GB, free: 15.41 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.0001137/0.1299, allocations: 125.7 kB / 0.5489 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.13, allocations: 7.953 kB / 0.5489 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.13, allocations: 8 kB / 0.5489 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.13, allocations: 0 / 0.5489 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.13, allocations: 0 / 0.5489 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.13, allocations: 3.984 kB / 0.5489 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.1302, allocations: 133.2 kB / 0.549 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1302, allocations: 3.938 kB / 0.549 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/0.1303, allocations: 12 kB / 0.549 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1303, allocations: 0 / 0.549 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1303, allocations: 0 / 0.549 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1303, allocations: 4 kB / 0.549 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1303, allocations: 3.938 kB / 0.549 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1305, allocations: 171.4 kB / 0.5492 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.1305, allocations: 3.969 kB / 0.5492 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.1305, allocations: 4 kB / 0.5492 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.1306, allocations: 0 / 0.5492 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.1306, allocations: 4 kB / 0.5492 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1307, allocations: 4.047 kB / 0.5492 GB, free: 14.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.563e-05/0.1307, allocations: 105.9 kB / 0.5493 GB, free: 14.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1307, allocations: 0 / 0.5493 GB, free: 14.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.131, allocations: 27.89 kB / 0.5494 GB, free: 14.73 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.0001045/0.1311, allocations: 95.25 kB / 0.5494 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.1312, allocations: 35.98 kB / 0.5495 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1312, allocations: 0 / 0.5495 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.162e-05/0.1312, allocations: 12 kB / 0.5495 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.1315, allocations: 9.938 kB / 0.5495 GB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.1321, allocations: 279.8 kB / 0.5498 GB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.423e-05/0.1322, allocations: 92.14 kB / 0.5499 GB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.844e-05/0.1322, allocations: 7.984 kB / 0.5499 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.1322, allocations: 11.44 kB / 0.5499 GB, free: 14.15 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1322, allocations: 0 / 0.5499 GB, free: 14.15 MB / 382.1 MB Notification: Performance of Templates: time 0.00346/0.1357, allocations: 0.6955 MB / 0.5506 GB, free: 13.46 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.35215076431632] Failed to read output from testmodel.py, exit status != 0: 0.14494884200394154 0.39640504400000004 0.032224101000000005 Calling exit ...