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.001502/0.001502, allocations: 78.17 kB / 19.76 MB, free: 2.035 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.447/1.447, allocations: 177.2 MB / 200.1 MB, free: 8.34 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.002073/0.002073, allocations: 168.8 kB / 256.6 MB, free: 4.277 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.04049/0.04049, allocations: 6.656 MB / 319.6 MB, free: 5.355 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.002968/0.002968, allocations: 80.3 kB / 446.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1439, allocations: 55.58 MB / 0.4902 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.004843/0.1487, allocations: 1.782 MB / 0.492 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1501, allocations: 466.9 kB / 0.4924 GB, free: 460 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.1503, allocations: 0 / 0.4924 GB, free: 460 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.1505, allocations: 23.78 kB / 0.4924 GB, free: 436 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.1507, allocations: 35.7 kB / 0.4925 GB, free: 400 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1509, allocations: 23.97 kB / 0.4925 GB, free: 376 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.1512, allocations: 119.5 kB / 0.4926 GB, free: 256 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.1514, allocations: 29.28 kB / 0.4926 GB, free: 228 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1515, allocations: 47.8 kB / 0.4927 GB, free: 180 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.1517, allocations: 43.78 kB / 0.4927 GB, free: 136 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.1517, allocations: 12 kB / 0.4927 GB, free: 124 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.306e-05/0.1517, allocations: 8 kB / 0.4928 GB, free: 116 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.1518, allocations: 27.86 kB / 0.4928 GB, free: 88 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.1519, allocations: 55.73 kB / 0.4928 GB, free: 32 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.1522, allocations: 123.5 kB / 0.493 GB, free: 15.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1522, allocations: 0 / 0.493 GB, free: 15.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1522, allocations: 0 / 0.493 GB, free: 15.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1522, allocations: 0 / 0.493 GB, free: 15.91 MB / 430.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.0008884/0.1531, allocations: 345.8 kB / 0.4933 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/0.1532, allocations: 11.98 kB / 0.4933 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1533, allocations: 16.88 kB / 0.4933 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.1538, allocations: 130.4 kB / 0.4934 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.1538, allocations: 16.38 kB / 0.4934 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.1539, allocations: 12.38 kB / 0.4935 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.1542, allocations: 135.6 kB / 0.4936 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1542, allocations: 0 / 0.4936 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.1542, allocations: 4 kB / 0.4936 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1542, allocations: 0 / 0.4936 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.1544, allocations: 63.91 kB / 0.4937 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.1556, allocations: 418.4 kB / 0.4941 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1557, allocations: 54.42 kB / 0.4941 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.1558, allocations: 16.86 kB / 0.4941 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.1558, allocations: 0 / 0.4941 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.1559, allocations: 30.56 kB / 0.4942 GB, free: 14.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.1559, allocations: 0 / 0.4942 GB, free: 14.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003024/0.1562, allocations: 61.72 kB / 0.4942 GB, free: 14.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.1562, allocations: 51.41 kB / 0.4943 GB, free: 14.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.1564, allocations: 141.6 kB / 0.4944 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.1565, allocations: 29.7 kB / 0.4944 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1566, allocations: 115.9 kB / 0.4945 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.1566, allocations: 27.78 kB / 0.4946 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.1567, allocations: 17.72 kB / 0.4946 GB, free: 14.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.1569, allocations: 322.8 kB / 0.4949 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.157, allocations: 8 kB / 0.4949 GB, free: 13.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.157, allocations: 34.56 kB / 0.4949 GB, free: 13.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.688e-05/0.1571, allocations: 46.52 kB / 0.495 GB, free: 13.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1571, allocations: 0 / 0.495 GB, free: 13.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001752/0.1573, allocations: 85.5 kB / 0.4951 GB, free: 13.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.1573, allocations: 8 kB / 0.4951 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1574, allocations: 0 / 0.4951 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.1574, allocations: 0 / 0.4951 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1575, allocations: 19.92 kB / 0.4951 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.1575, allocations: 4 kB / 0.4951 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.1576, allocations: 7.953 kB / 0.4951 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1576, allocations: 4 kB / 0.4951 GB, free: 13.51 MB / 430.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.0001434/0.1578, allocations: 121.7 kB / 0.4952 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.1578, allocations: 8.016 kB / 0.4952 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.1578, allocations: 12 kB / 0.4952 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1579, allocations: 4 kB / 0.4952 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1579, allocations: 0 / 0.4952 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1579, allocations: 0 / 0.4952 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1581, allocations: 129.3 kB / 0.4954 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1581, allocations: 3.938 kB / 0.4954 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-05/0.1582, allocations: 16.23 kB / 0.4954 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1582, allocations: 0 / 0.4954 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1582, allocations: 0 / 0.4954 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1582, allocations: 0 / 0.4954 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1582, allocations: 7.984 kB / 0.4954 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1584, allocations: 167.4 kB / 0.4955 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.1584, allocations: 7.922 kB / 0.4955 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.1585, allocations: 0 / 0.4955 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.1585, allocations: 4.031 kB / 0.4956 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.1586, allocations: 4 kB / 0.4956 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1586, allocations: 4 kB / 0.4956 GB, free: 12.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.55e-05/0.1586, allocations: 95.27 kB / 0.4957 GB, free: 12.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1586, allocations: 0 / 0.4957 GB, free: 12.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1589, allocations: 27.89 kB / 0.4957 GB, free: 12.85 MB / 430.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.0001215/0.159, allocations: 99.3 kB / 0.4958 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.1592, allocations: 35.92 kB / 0.4958 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1592, allocations: 0 / 0.4958 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.367e-05/0.1592, allocations: 12 kB / 0.4958 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1595, allocations: 10.44 kB / 0.4958 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.1601, allocations: 291.5 kB / 0.4961 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.1602, allocations: 88.25 kB / 0.4962 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.656e-05/0.1602, allocations: 3.984 kB / 0.4962 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1603, allocations: 16.5 kB / 0.4962 GB, free: 12.25 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1603, allocations: 0 / 0.4962 GB, free: 12.25 MB / 430.1 MB Notification: Performance of Templates: time 0.003493/0.1638, allocations: 0.5921 MB / 0.4968 GB, free: 11.67 MB / 430.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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1437653980683535] Failed to read output from testmodel.py, exit status != 0: 0.17378648603335023 0.45164703599999995 0.29399733599999994 Calling exit ...