Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.001441/0.001441, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.426/1.426, allocations: 177.2 MB / 200.1 MB, free: 8.379 MB / 190.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.001676/0.001676, allocations: 161.8 kB / 256.6 MB, free: 4.293 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.0384/0.0384, allocations: 6.655 MB / 319.6 MB, free: 5.375 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.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [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.003283/0.003283, allocations: 83.88 kB / 446.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1498, allocations: 55.58 MB / 0.4902 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.002285/0.1521, allocations: 0.4932 MB / 0.4907 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001569/0.1522, allocations: 35.89 kB / 0.4907 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.1523, allocations: 0 / 0.4907 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.1523, allocations: 0 / 0.4907 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.1523, allocations: 7.938 kB / 0.4907 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.1524, allocations: 0 / 0.4907 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.577e-05/0.1525, allocations: 23.91 kB / 0.4908 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.778e-05/0.1526, allocations: 0 / 0.4908 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.1526, allocations: 7.938 kB / 0.4908 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.1527, allocations: 4 kB / 0.4908 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1527, allocations: 0 / 0.4908 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.1527, allocations: 4 kB / 0.4908 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.1527, allocations: 11.92 kB / 0.4908 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.1527, allocations: 4 kB / 0.4908 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 6.79e-05/0.1528, allocations: 7.938 kB / 0.4908 GB, free: 2.152 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1528, allocations: 3.938 kB / 0.4908 GB, free: 2.148 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1528, allocations: 0 / 0.4908 GB, free: 2.148 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1528, allocations: 0 / 0.4908 GB, free: 2.148 MB / 414.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.0004043/0.1532, allocations: 254.4 kB / 0.4911 GB, free: 1.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1533, allocations: 11.98 kB / 0.4911 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.1533, allocations: 0.9375 kB / 0.4911 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1534, allocations: 114.5 kB / 0.4912 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1534, allocations: 4.359 kB / 0.4912 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1535, allocations: 4.312 kB / 0.4912 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1536, allocations: 38.27 kB / 0.4912 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1536, allocations: 192 / 0.4912 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1536, allocations: 7.938 kB / 0.4912 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1536, allocations: 0 / 0.4912 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.1536, allocations: 7.984 kB / 0.4912 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.1538, allocations: 105.3 kB / 0.4913 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.745e-05/0.1539, allocations: 38.61 kB / 0.4914 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.1539, allocations: 12.86 kB / 0.4914 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.1539, allocations: 4 kB / 0.4914 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.154, allocations: 30.56 kB / 0.4914 GB, free: 1.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.154, allocations: 0 / 0.4914 GB, free: 1.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001605/0.1541, allocations: 53.66 kB / 0.4915 GB, free: 1.355 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.1542, allocations: 51.41 kB / 0.4915 GB, free: 1.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/0.1543, allocations: 102 kB / 0.4916 GB, free: 1.184 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1543, allocations: 29.7 kB / 0.4916 GB, free: 1.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.1543, allocations: 80.14 kB / 0.4917 GB, free: 1.066 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1544, allocations: 15.84 kB / 0.4917 GB, free: 1.051 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.1544, allocations: 13.72 kB / 0.4917 GB, free: 1.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1546, allocations: 322.8 kB / 0.4921 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.1546, allocations: 4 kB / 0.4921 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.1546, allocations: 8.125 kB / 0.4921 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.224e-05/0.1546, allocations: 24.94 kB / 0.4921 GB, free: 0.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1546, allocations: 0 / 0.4921 GB, free: 0.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.163e-05/0.1547, allocations: 49.62 kB / 0.4921 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1547, allocations: 8 kB / 0.4921 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1547, allocations: 0 / 0.4921 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1548, allocations: 3.938 kB / 0.4922 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.1548, allocations: 11.98 kB / 0.4922 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1549, allocations: 4 kB / 0.4922 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.1549, allocations: 3.953 kB / 0.4922 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.1549, allocations: 0 / 0.4922 GB, free: 0.582 MB / 414.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 7.718e-05/0.155, allocations: 109.8 kB / 0.4923 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.155, allocations: 0 / 0.4923 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.155, allocations: 7.688 kB / 0.4923 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.155, allocations: 7.938 kB / 0.4923 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.155, allocations: 0 / 0.4923 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.155, allocations: 0 / 0.4923 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.703e-05/0.1551, allocations: 105.3 kB / 0.4924 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1551, allocations: 0 / 0.4924 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.1552, allocations: 12 kB / 0.4924 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1552, allocations: 3.938 kB / 0.4924 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1552, allocations: 3.938 kB / 0.4924 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1552, allocations: 0 / 0.4924 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.1552, allocations: 7.922 kB / 0.4924 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.1553, allocations: 77.12 kB / 0.4925 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.1553, allocations: 3.953 kB / 0.4925 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.1553, allocations: 0 / 0.4925 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.1553, allocations: 4 kB / 0.4925 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.1554, allocations: 7.969 kB / 0.4925 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.1554, allocations: 64 / 0.4925 GB, free: 184 kB / 414.1 MB Notification: Performance of sorting global known variables: time 4.789e-05/0.1554, allocations: 87.27 kB / 0.4926 GB, free: 96 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1554, allocations: 0 / 0.4926 GB, free: 96 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0001754/0.1556, allocations: 8 kB / 0.4926 GB, free: 88 kB / 414.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.889e-05/0.1557, allocations: 91.25 kB / 0.4927 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.1558, allocations: 15.92 kB / 0.4927 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1558, allocations: 0 / 0.4927 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.487e-05/0.1558, allocations: 11.94 kB / 0.4927 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.1559, allocations: 4 kB / 0.4927 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.1564, allocations: 187.1 kB / 0.4929 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.233e-05/0.1564, allocations: 59.34 kB / 0.4929 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.449e-05/0.1565, allocations: 0 / 0.4929 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.1565, allocations: 12.5 kB / 0.493 GB, free: 15.66 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1565, allocations: 0 / 0.493 GB, free: 15.66 MB / 430.1 MB Notification: Performance of Templates: time 0.002446/0.1589, allocations: 249.7 kB / 0.4932 GB, free: 15.42 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.906687300070189] Failed to read output from testmodel.py, exit status != 0: 0.16879660193808377 0.18301527799999995 0.027106170000000002 Calling exit ...