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.001839/0.001839, 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.658/1.658, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001924/0.001924, allocations: 203 kB / 309.2 MB, free: 3.105 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.06733/0.06733, allocations: 8.918 MB / 374.6 MB, free: 6.574 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.004134/0.004134, allocations: 83.88 kB / 0.4896 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1291, allocations: 55.61 MB / 0.5439 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.002179/0.1313, allocations: 0.4884 MB / 0.5444 GB, free: 4.078 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001706/0.1315, allocations: 23.91 kB / 0.5444 GB, free: 4.055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.1315, allocations: 0 / 0.5444 GB, free: 4.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.1316, allocations: 4 kB / 0.5444 GB, free: 4.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.299e-05/0.1316, allocations: 3.938 kB / 0.5444 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.1317, allocations: 4 kB / 0.5444 GB, free: 4.043 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.968e-05/0.1318, allocations: 11.98 kB / 0.5444 GB, free: 4.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.264e-05/0.1319, allocations: 3.984 kB / 0.5444 GB, free: 4.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.1319, allocations: 4 kB / 0.5444 GB, free: 4.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.824e-05/0.132, allocations: 3.938 kB / 0.5444 GB, free: 4.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.132, allocations: 0 / 0.5444 GB, free: 4.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-06/0.132, allocations: 4 kB / 0.5444 GB, free: 4.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.132, allocations: 0 / 0.5444 GB, free: 4.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.132, allocations: 3.938 kB / 0.5445 GB, free: 4.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.787e-05/0.1321, allocations: 19.97 kB / 0.5445 GB, free: 3.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1321, allocations: 0 / 0.5445 GB, free: 3.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1321, allocations: 0 / 0.5445 GB, free: 3.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1321, allocations: 3.938 kB / 0.5445 GB, free: 3.988 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004629/0.1326, allocations: 246.4 kB / 0.5447 GB, free: 3.715 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.1327, allocations: 15.98 kB / 0.5447 GB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.1327, allocations: 4.891 kB / 0.5447 GB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.1328, allocations: 106.5 kB / 0.5448 GB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1329, allocations: 4.375 kB / 0.5448 GB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.1329, allocations: 384 / 0.5448 GB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.133, allocations: 42.25 kB / 0.5449 GB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.133, allocations: 192 / 0.5449 GB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.133, allocations: 3.938 kB / 0.5449 GB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.133, allocations: 4 kB / 0.5449 GB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.862e-05/0.1331, allocations: 7.938 kB / 0.5449 GB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.1333, allocations: 105.3 kB / 0.545 GB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.637e-05/0.1334, allocations: 38.55 kB / 0.545 GB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.1334, allocations: 12.86 kB / 0.545 GB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.1334, allocations: 0 / 0.545 GB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1335, allocations: 34.56 kB / 0.5451 GB, free: 3.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.507e-06/0.1335, allocations: 7.984 kB / 0.5451 GB, free: 3.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001859/0.1336, allocations: 57.59 kB / 0.5451 GB, free: 3.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.1337, allocations: 51.41 kB / 0.5452 GB, free: 3.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.1338, allocations: 101.8 kB / 0.5453 GB, free: 3.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1338, allocations: 25.7 kB / 0.5453 GB, free: 2.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.1339, allocations: 80.14 kB / 0.5454 GB, free: 2.906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.1339, allocations: 15.91 kB / 0.5454 GB, free: 2.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.1339, allocations: 13.72 kB / 0.5454 GB, free: 2.871 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1341, allocations: 318.8 kB / 0.5457 GB, free: 2.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.1341, allocations: 4 kB / 0.5457 GB, free: 2.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.666e-05/0.1341, allocations: 4 kB / 0.5457 GB, free: 2.543 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.1342, allocations: 20.86 kB / 0.5457 GB, free: 2.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1342, allocations: 0 / 0.5457 GB, free: 2.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.734e-05/0.1343, allocations: 49.62 kB / 0.5458 GB, free: 2.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1343, allocations: 4 kB / 0.5458 GB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1343, allocations: 4 kB / 0.5458 GB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1343, allocations: 3.938 kB / 0.5458 GB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1344, allocations: 11.98 kB / 0.5458 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1344, allocations: 4 kB / 0.5458 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.1344, allocations: 0 / 0.5458 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.1344, allocations: 0 / 0.5458 GB, free: 2.438 MB / 366.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.811e-05/0.1345, allocations: 113.8 kB / 0.5459 GB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.1345, allocations: 3.953 kB / 0.5459 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.1346, allocations: 7.688 kB / 0.5459 GB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1346, allocations: 3.938 kB / 0.5459 GB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1346, allocations: 0 / 0.5459 GB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1346, allocations: 0 / 0.5459 GB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.1347, allocations: 105.3 kB / 0.546 GB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1347, allocations: 4 kB / 0.546 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.1347, allocations: 4 kB / 0.546 GB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1347, allocations: 7.938 kB / 0.5461 GB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.1348, allocations: 4 kB / 0.5461 GB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1348, allocations: 3.938 kB / 0.5461 GB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1348, allocations: 3.938 kB / 0.5461 GB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.1349, allocations: 77.11 kB / 0.5461 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.1349, allocations: 8.594 kB / 0.5461 GB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1349, allocations: 0 / 0.5461 GB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.135, allocations: 0 / 0.5461 GB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.135, allocations: 3.938 kB / 0.5462 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.135, allocations: 4 kB / 0.5462 GB, free: 2.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.656e-05/0.1351, allocations: 83.25 kB / 0.5462 GB, free: 1.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1351, allocations: 0 / 0.5462 GB, free: 1.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.1353, allocations: 8.062 kB / 0.5462 GB, free: 1.941 MB / 366.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.00011/0.1354, allocations: 103.1 kB / 0.5463 GB, free: 1.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.1355, allocations: 11.94 kB / 0.5464 GB, free: 1.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.1355, allocations: 4 kB / 0.5464 GB, free: 1.812 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.197e-05/0.1355, allocations: 11.98 kB / 0.5464 GB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.1357, allocations: 1.875 kB / 0.5464 GB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.1361, allocations: 115.7 kB / 0.5465 GB, free: 1.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.11e-05/0.1362, allocations: 63.34 kB / 0.5465 GB, free: 1.582 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.011e-05/0.1362, allocations: 4 kB / 0.5465 GB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.1363, allocations: 11.44 kB / 0.5466 GB, free: 1.566 MB / 366.1 MB Notification: Performance of SimCode: time 1.183e-06/0.1363, allocations: 0 / 0.5466 GB, free: 1.566 MB / 366.1 MB Notification: Performance of Templates: time 0.003311/0.1396, allocations: 237.1 kB / 0.5468 GB, free: 1.336 MB / 366.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 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.359158171340823] Failed to read output from testmodel.py, exit status != 0: 0.14973807893693447 0.176847423 0.039503855000000004 Calling exit ...