Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.00138/0.00138, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.521/1.521, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.002572/0.002572, allocations: 216.9 kB / 309.2 MB, free: 3.152 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.04171/0.04171, allocations: 8.92 MB / 374.6 MB, free: 1.906 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.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") translateModel(HanserModelica.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") [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.004575/0.004575, allocations: 85.78 kB / 0.4897 GB, free: 4.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.144, allocations: 55.61 MB / 0.544 GB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.003017/0.147, allocations: 1.251 MB / 0.5452 GB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001815/0.1472, allocations: 26.67 kB / 0.5452 GB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.1473, allocations: 0 / 0.5452 GB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.1473, allocations: 3.938 kB / 0.5452 GB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.223e-05/0.1473, allocations: 3.984 kB / 0.5452 GB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.1475, allocations: 4 kB / 0.5452 GB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.998e-05/0.1475, allocations: 27.8 kB / 0.5453 GB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.507e-05/0.1476, allocations: 4 kB / 0.5453 GB, free: 3.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.479e-05/0.1476, allocations: 4 kB / 0.5453 GB, free: 3.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.1477, allocations: 7.922 kB / 0.5453 GB, free: 3.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.1477, allocations: 4 kB / 0.5453 GB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-06/0.1477, allocations: 0 / 0.5453 GB, free: 3.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.1477, allocations: 0 / 0.5453 GB, free: 3.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.1478, allocations: 11.98 kB / 0.5453 GB, free: 3.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.336e-05/0.1478, allocations: 11.88 kB / 0.5453 GB, free: 3.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1478, allocations: 0 / 0.5453 GB, free: 3.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1478, allocations: 0 / 0.5453 GB, free: 3.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1478, allocations: 4 kB / 0.5453 GB, free: 3.191 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004212/0.1483, allocations: 246.8 kB / 0.5455 GB, free: 2.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1483, allocations: 12.03 kB / 0.5455 GB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.1483, allocations: 4.891 kB / 0.5456 GB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.1485, allocations: 106.5 kB / 0.5457 GB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1485, allocations: 4.375 kB / 0.5457 GB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1485, allocations: 384 / 0.5457 GB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.1486, allocations: 34.27 kB / 0.5457 GB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1486, allocations: 4.188 kB / 0.5457 GB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1486, allocations: 3.938 kB / 0.5457 GB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.1486, allocations: 3.984 kB / 0.5457 GB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.725e-05/0.1487, allocations: 11.94 kB / 0.5457 GB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.1489, allocations: 124.8 kB / 0.5458 GB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.908e-05/0.1489, allocations: 38.58 kB / 0.5459 GB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.149, allocations: 12.94 kB / 0.5459 GB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.149, allocations: 4 kB / 0.5459 GB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.149, allocations: 38.44 kB / 0.5459 GB, free: 2.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.149, allocations: 0 / 0.5459 GB, free: 2.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001652/0.1492, allocations: 65.55 kB / 0.546 GB, free: 2.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1492, allocations: 51.41 kB / 0.546 GB, free: 2.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.1493, allocations: 93.86 kB / 0.5461 GB, free: 2.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1493, allocations: 25.7 kB / 0.5461 GB, free: 2.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.1494, allocations: 88.12 kB / 0.5462 GB, free: 2.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1494, allocations: 11.91 kB / 0.5462 GB, free: 2.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.1495, allocations: 17.72 kB / 0.5463 GB, free: 2.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1496, allocations: 310.8 kB / 0.5466 GB, free: 1.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.1496, allocations: 7.984 kB / 0.5466 GB, free: 1.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.319e-05/0.1496, allocations: 8 kB / 0.5466 GB, free: 1.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.574e-05/0.1497, allocations: 20.8 kB / 0.5466 GB, free: 1.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1497, allocations: 0 / 0.5466 GB, free: 1.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.319e-05/0.1498, allocations: 49.69 kB / 0.5466 GB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1498, allocations: 4 kB / 0.5466 GB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1498, allocations: 7.938 kB / 0.5467 GB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1498, allocations: 0 / 0.5467 GB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.1499, allocations: 8 kB / 0.5467 GB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1499, allocations: 0 / 0.5467 GB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.1499, allocations: 3.938 kB / 0.5467 GB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-06/0.1499, allocations: 0 / 0.5467 GB, free: 1.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 8.887e-05/0.15, allocations: 117.8 kB / 0.5468 GB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.15, allocations: 7.953 kB / 0.5468 GB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.15, allocations: 7.625 kB / 0.5468 GB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.15, allocations: 8 kB / 0.5468 GB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1501, allocations: 3.938 kB / 0.5468 GB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1501, allocations: 0 / 0.5468 GB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.1502, allocations: 124.8 kB / 0.5469 GB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1502, allocations: 0 / 0.5469 GB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.1502, allocations: 8 kB / 0.5469 GB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1502, allocations: 0 / 0.5469 GB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1502, allocations: 3.938 kB / 0.5469 GB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1502, allocations: 0 / 0.5469 GB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1502, allocations: 0 / 0.5469 GB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.1504, allocations: 81.11 kB / 0.547 GB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.1504, allocations: 7.969 kB / 0.547 GB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1504, allocations: 3.938 kB / 0.547 GB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.1504, allocations: 0 / 0.547 GB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.1504, allocations: 0.5625 kB / 0.547 GB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1504, allocations: 4 kB / 0.547 GB, free: 1.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.753e-05/0.1505, allocations: 91.19 kB / 0.5471 GB, free: 1.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1505, allocations: 3.938 kB / 0.5471 GB, free: 1.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001868/0.1507, allocations: 8.062 kB / 0.5471 GB, free: 1.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (3): * Single equations (assignments): 3 * 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.567e-05/0.1508, allocations: 91.25 kB / 0.5472 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.066e-05/0.1509, allocations: 16 kB / 0.5472 GB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1509, allocations: 0 / 0.5472 GB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.484e-05/0.1509, allocations: 7.984 kB / 0.5472 GB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.151, allocations: 4 kB / 0.5472 GB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.1515, allocations: 188.7 kB / 0.5474 GB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1518, allocations: 0.6768 MB / 0.5481 GB, free: 24 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.548e-05/0.1518, allocations: 4 kB / 0.5481 GB, free: 20 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.1518, allocations: 11.44 kB / 0.5481 GB, free: 8 kB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1518, allocations: 0 / 0.5481 GB, free: 8 kB / 350.1 MB Notification: Performance of Templates: time 0.002794/0.1546, allocations: 261.5 kB / 0.5483 GB, free: 15.75 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.943746935809031] Failed to read output from testmodel.py, exit status != 0: 0.16575584094971418 0.17875937900000002 0.027349137000000003 Calling exit ...