Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.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.00137/0.00137, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.511/1.511, allocations: 230.6 MB / 253.4 MB, free: 14.48 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.001659/0.001659, allocations: 222.6 kB / 310 MB, free: 3.141 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.0409/0.0409, allocations: 8.92 MB / 375.3 MB, free: 6.777 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.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") [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.002387/0.002387, allocations: 87.88 kB / 0.4904 GB, free: 44.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1115, allocations: 55.61 MB / 0.5447 GB, free: 4.719 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002675/0.1142, allocations: 1.267 MB / 0.546 GB, free: 3.441 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1164, allocations: 1.257 MB / 0.5472 GB, free: 2.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.1164, allocations: 4 kB / 0.5472 GB, free: 2.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.1169, allocations: 75.69 kB / 0.5473 GB, free: 2.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1179, allocations: 434.4 kB / 0.5477 GB, free: 1.672 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.539e-06/0.1179, allocations: 0 / 0.5477 GB, free: 1.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.1193, allocations: 0.831 MB / 0.5485 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.224e-05/0.1193, allocations: 4 kB / 0.5485 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.1193, allocations: 11.92 kB / 0.5485 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.1194, allocations: 19.86 kB / 0.5485 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.1194, allocations: 0 / 0.5485 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1196, allocations: 43.92 kB / 0.5486 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.1196, allocations: 23.91 kB / 0.5486 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.1196, allocations: 23.86 kB / 0.5486 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.1198, allocations: 79.62 kB / 0.5487 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1198, allocations: 0 / 0.5487 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1198, allocations: 0 / 0.5487 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1199, allocations: 0 / 0.5487 GB, free: 0.6367 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004135/0.1203, allocations: 305.9 kB / 0.549 GB, free: 316 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1203, allocations: 15.98 kB / 0.549 GB, free: 300 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003744/0.1207, allocations: 104.1 kB / 0.5491 GB, free: 196 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.1212, allocations: 329.4 kB / 0.5494 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.1213, allocations: 150.9 kB / 0.5496 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.1214, allocations: 154.9 kB / 0.5497 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.606e-05/0.1214, allocations: 109.2 kB / 0.5498 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/0.1215, allocations: 79.28 kB / 0.5499 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/0.1216, allocations: 154.5 kB / 0.55 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.205e-05/0.1216, allocations: 154.5 kB / 0.5502 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.772e-05/0.1217, allocations: 150.6 kB / 0.5503 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.122, allocations: 433 kB / 0.5507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1221, allocations: 177.1 kB / 0.5509 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.1222, allocations: 80.14 kB / 0.551 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.1222, allocations: 75.28 kB / 0.5511 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/0.1223, allocations: 109.8 kB / 0.5512 GB, free: 13.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1223, allocations: 0 / 0.5512 GB, free: 13.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.24e-05/0.1224, allocations: 37.64 kB / 0.5512 GB, free: 13.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.1224, allocations: 134.6 kB / 0.5513 GB, free: 13.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.1226, allocations: 162.2 kB / 0.5515 GB, free: 13.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1226, allocations: 25.7 kB / 0.5515 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.1227, allocations: 104.1 kB / 0.5516 GB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.1227, allocations: 0 / 0.5516 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.1227, allocations: 9.719 kB / 0.5516 GB, free: 13.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1229, allocations: 322.8 kB / 0.5519 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-06/0.1229, allocations: 4 kB / 0.5519 GB, free: 13.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-06/0.1229, allocations: 0 / 0.5519 GB, free: 13.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.318e-05/0.1229, allocations: 75.28 kB / 0.552 GB, free: 13.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-05/0.123, allocations: 75.28 kB / 0.5521 GB, free: 12.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.869e-05/0.123, allocations: 37.66 kB / 0.5521 GB, free: 12.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.1231, allocations: 83.22 kB / 0.5522 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/0.1231, allocations: 79.22 kB / 0.5523 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.892e-05/0.1232, allocations: 158.6 kB / 0.5524 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.698e-05/0.1232, allocations: 79.22 kB / 0.5525 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.806e-05/0.1233, allocations: 154.5 kB / 0.5526 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.1234, allocations: 87.22 kB / 0.5527 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.1234, allocations: 83.22 kB / 0.5528 GB, free: 12.23 MB / 382.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 (0): * Single equations (assignments): 0 * 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.000159/0.1236, allocations: 268.4 kB / 0.5531 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.1236, allocations: 124.9 kB / 0.5532 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.1e-05/0.1237, allocations: 112.7 kB / 0.5533 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.393e-05/0.1238, allocations: 184.2 kB / 0.5535 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.121e-05/0.1239, allocations: 176.3 kB / 0.5536 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.108e-05/0.124, allocations: 184.2 kB / 0.5538 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.1242, allocations: 396.3 kB / 0.5542 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.583e-05/0.1243, allocations: 104.9 kB / 0.5543 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.1243, allocations: 101 kB / 0.5544 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.729e-05/0.1244, allocations: 184.2 kB / 0.5546 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/0.1245, allocations: 180.2 kB / 0.5547 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.598e-05/0.1246, allocations: 176.3 kB / 0.5549 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-05/0.1247, allocations: 188.5 kB / 0.5551 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.1248, allocations: 315.7 kB / 0.5554 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.1249, allocations: 120.9 kB / 0.5555 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/0.125, allocations: 188.2 kB / 0.5557 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/0.1251, allocations: 108.9 kB / 0.5558 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.1252, allocations: 184.2 kB / 0.5559 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.1252, allocations: 104.9 kB / 0.556 GB, free: 8.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1253, allocations: 123.2 kB / 0.5562 GB, free: 8.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1253, allocations: 0 / 0.5562 GB, free: 8.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1256, allocations: 4 kB / 0.5562 GB, free: 8.582 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001518/0.1258, allocations: 170.5 kB / 0.5563 GB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.597e-05/0.1258, allocations: 0 / 0.5563 GB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1258, allocations: 4 kB / 0.5563 GB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.1258, allocations: 0 / 0.5563 GB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.1263, allocations: 463.7 kB / 0.5568 GB, free: 7.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.1267, allocations: 270.4 kB / 0.557 GB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.1271, allocations: 0.6946 MB / 0.5577 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.1271, allocations: 11.44 kB / 0.5577 GB, free: 6.918 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1271, allocations: 0 / 0.5577 GB, free: 6.918 MB / 382.1 MB Notification: Performance of Templates: time 0.00264/0.1297, allocations: 0.8346 MB / 0.5585 GB, free: 6.082 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.791776628000662] Failed to read output from testmodel.py, exit status != 0: 0.1375983110629022 0.361657751 0.23904847 Calling exit ...