Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.001889/0.001889, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.502/1.502, allocations: 177.2 MB / 200.1 MB, free: 8.367 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.001903/0.001903, allocations: 160.6 kB / 256.6 MB, free: 4.289 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.03975/0.03975, allocations: 6.668 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.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") [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.002546/0.002546, allocations: 80.3 kB / 446.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1399, allocations: 55.58 MB / 0.4902 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001891/0.1417, allocations: 0.492 MB / 0.4907 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001606/0.1419, allocations: 19.92 kB / 0.4907 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.1419, allocations: 0 / 0.4907 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.142, allocations: 0 / 0.4907 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.224e-05/0.142, allocations: 3.938 kB / 0.4907 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.1421, allocations: 7.984 kB / 0.4907 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.1422, allocations: 11.98 kB / 0.4907 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.216e-05/0.1423, allocations: 4 kB / 0.4908 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.195e-05/0.1423, allocations: 3.938 kB / 0.4908 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.1423, allocations: 7.984 kB / 0.4908 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1424, allocations: 0 / 0.4908 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.1424, allocations: 0 / 0.4908 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.1424, allocations: 7.938 kB / 0.4908 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.1424, allocations: 4 kB / 0.4908 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 7.195e-05/0.1425, allocations: 7.922 kB / 0.4908 GB, free: 2.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1425, allocations: 4 kB / 0.4908 GB, free: 2.168 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1425, allocations: 3.938 kB / 0.4908 GB, free: 2.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.1425, allocations: 0 / 0.4908 GB, free: 2.164 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.0004415/0.1429, allocations: 254.4 kB / 0.491 GB, free: 1.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.143, allocations: 11.98 kB / 0.491 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.143, allocations: 4.938 kB / 0.491 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1432, allocations: 106.5 kB / 0.4911 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1432, allocations: 384 / 0.4911 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.1432, allocations: 8.312 kB / 0.4912 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.1433, allocations: 38.25 kB / 0.4912 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1433, allocations: 192 / 0.4912 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1434, allocations: 7.938 kB / 0.4912 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1434, allocations: 0 / 0.4912 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.653e-05/0.1434, allocations: 8 kB / 0.4912 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.1436, allocations: 109.3 kB / 0.4913 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.788e-05/0.1437, allocations: 34.58 kB / 0.4913 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.1437, allocations: 16.94 kB / 0.4914 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.1437, allocations: 0 / 0.4914 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.1438, allocations: 30.56 kB / 0.4914 GB, free: 1.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1438, allocations: 0 / 0.4914 GB, free: 1.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001803/0.1439, allocations: 61.66 kB / 0.4914 GB, free: 1.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.144, allocations: 55.41 kB / 0.4915 GB, free: 1.301 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.858e-05/0.1441, allocations: 97.89 kB / 0.4916 GB, free: 1.195 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.1441, allocations: 29.7 kB / 0.4916 GB, free: 1.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.1442, allocations: 84.14 kB / 0.4917 GB, free: 1.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.1442, allocations: 7.938 kB / 0.4917 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1442, allocations: 17.72 kB / 0.4917 GB, free: 1.043 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1444, allocations: 314.8 kB / 0.492 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.1444, allocations: 0 / 0.492 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.565e-05/0.1444, allocations: 11.98 kB / 0.492 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.292e-05/0.1445, allocations: 20.8 kB / 0.4921 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1445, allocations: 0 / 0.4921 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.65e-05/0.1445, allocations: 53.62 kB / 0.4921 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1445, allocations: 4 kB / 0.4921 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1445, allocations: 4 kB / 0.4921 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.1446, allocations: 3.938 kB / 0.4921 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.1447, allocations: 8 kB / 0.4921 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1447, allocations: 0 / 0.4921 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.1447, allocations: 3.953 kB / 0.4921 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1447, allocations: 4 kB / 0.4921 GB, free: 0.6055 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 9.42e-05/0.1448, allocations: 113.8 kB / 0.4922 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.1448, allocations: 3.984 kB / 0.4923 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.1448, allocations: 7.688 kB / 0.4923 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1448, allocations: 3.938 kB / 0.4923 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1448, allocations: 4 kB / 0.4923 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1448, allocations: 0 / 0.4923 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.1449, allocations: 101.3 kB / 0.4924 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1449, allocations: 0 / 0.4924 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.365e-05/0.145, allocations: 11.98 kB / 0.4924 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.145, allocations: 0 / 0.4924 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.145, allocations: 7.875 kB / 0.4924 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.145, allocations: 0 / 0.4924 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.145, allocations: 7.938 kB / 0.4924 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.1452, allocations: 73.12 kB / 0.4925 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.1452, allocations: 3.953 kB / 0.4925 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1452, allocations: 8.047 kB / 0.4925 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.1452, allocations: 8.031 kB / 0.4925 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.1452, allocations: 3.938 kB / 0.4925 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.1452, allocations: 0 / 0.4925 GB, free: 200 kB / 414.1 MB Notification: Performance of sorting global known variables: time 5.045e-05/0.1453, allocations: 83.66 kB / 0.4926 GB, free: 116 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1453, allocations: 0 / 0.4926 GB, free: 116 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0001728/0.1455, allocations: 4 kB / 0.4926 GB, free: 112 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 0.0001226/0.1456, allocations: 87.25 kB / 0.4926 GB, free: 16 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.1457, allocations: 24.14 kB / 0.4927 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1457, allocations: 4 kB / 0.4927 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.1457, allocations: 8.078 kB / 0.4927 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.1459, allocations: 7.938 kB / 0.4927 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.1462, allocations: 115.5 kB / 0.4928 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.911e-05/0.1463, allocations: 63.34 kB / 0.4929 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.823e-05/0.1463, allocations: 0 / 0.4929 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.1463, allocations: 8.5 kB / 0.4929 GB, free: 15.74 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1463, allocations: 0 / 0.4929 GB, free: 15.74 MB / 430.1 MB Notification: Performance of Templates: time 0.002812/0.1491, allocations: 245.8 kB / 0.4931 GB, free: 15.51 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.909123004064895] Failed to read output from testmodel.py, exit status != 0: 0.15863239008467644 0.17380868300000002 0.028299639 Calling exit ...