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.001662/0.001662, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.499/1.499, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001513/0.001513, allocations: 219.6 kB / 310 MB, free: 3.066 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.04286/0.04286, allocations: 8.927 MB / 375.3 MB, free: 6.562 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.002541/0.002541, allocations: 84.3 kB / 0.4904 GB, free: 44.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08554/0.08809, allocations: 55.61 MB / 0.5447 GB, free: 4.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.00257/0.09066, allocations: 1.266 MB / 0.5459 GB, free: 3.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.09273, allocations: 1.133 MB / 0.547 GB, free: 2.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.09277, allocations: 0 / 0.547 GB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.09321, allocations: 75.64 kB / 0.5471 GB, free: 2.055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.09431, allocations: 410.5 kB / 0.5475 GB, free: 1.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.428e-06/0.09431, allocations: 0 / 0.5475 GB, free: 1.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.09569, allocations: 0.8348 MB / 0.5483 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.09574, allocations: 0 / 0.5483 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.867e-05/0.09577, allocations: 11.94 kB / 0.5483 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.574e-05/0.0958, allocations: 7.938 kB / 0.5483 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.09581, allocations: 0 / 0.5483 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.09597, allocations: 51.95 kB / 0.5484 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.09603, allocations: 15.92 kB / 0.5484 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.09606, allocations: 15.86 kB / 0.5484 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.09626, allocations: 83.56 kB / 0.5485 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.09626, allocations: 0 / 0.5485 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09626, allocations: 8 kB / 0.5485 GB, free: 0.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.09627, allocations: 0 / 0.5485 GB, free: 0.625 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.0004023/0.09667, allocations: 309.8 kB / 0.5488 GB, free: 300 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.09671, allocations: 11.98 kB / 0.5488 GB, free: 288 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.09707, allocations: 108.1 kB / 0.5489 GB, free: 180 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.09761, allocations: 325.3 kB / 0.5492 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-05/0.09769, allocations: 154.9 kB / 0.5493 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.09775, allocations: 158.9 kB / 0.5495 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.71e-05/0.09784, allocations: 105.3 kB / 0.5496 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.09788, allocations: 75.28 kB / 0.5497 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.623e-05/0.09795, allocations: 150.6 kB / 0.5498 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.827e-05/0.09802, allocations: 150.6 kB / 0.5499 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.51e-05/0.0981, allocations: 158.5 kB / 0.5501 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.09841, allocations: 413.6 kB / 0.5505 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.09852, allocations: 169.1 kB / 0.5507 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.09857, allocations: 80.14 kB / 0.5507 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.0986, allocations: 79.28 kB / 0.5508 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.083e-05/0.09868, allocations: 113.8 kB / 0.5509 GB, free: 14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.09868, allocations: 4 kB / 0.5509 GB, free: 13.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.874e-05/0.09876, allocations: 41.53 kB / 0.551 GB, free: 13.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.09883, allocations: 126.7 kB / 0.5511 GB, free: 13.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.09902, allocations: 162.2 kB / 0.5512 GB, free: 13.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.09903, allocations: 25.7 kB / 0.5513 GB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.0991, allocations: 96.14 kB / 0.5514 GB, free: 13.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.0991, allocations: 0 / 0.5514 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.09913, allocations: 17.7 kB / 0.5514 GB, free: 13.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.09928, allocations: 318.8 kB / 0.5517 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-06/0.09929, allocations: 0 / 0.5517 GB, free: 13.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-06/0.09929, allocations: 4 kB / 0.5517 GB, free: 13.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.09933, allocations: 75.28 kB / 0.5517 GB, free: 13.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.933e-05/0.09936, allocations: 79.22 kB / 0.5518 GB, free: 13.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.244e-05/0.09943, allocations: 41.58 kB / 0.5519 GB, free: 12.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/0.09947, allocations: 87.28 kB / 0.5519 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-05/0.09952, allocations: 79.22 kB / 0.552 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.445e-05/0.0996, allocations: 154.5 kB / 0.5522 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.585e-05/0.09963, allocations: 79.28 kB / 0.5522 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-05/0.0997, allocations: 150.6 kB / 0.5524 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.398e-05/0.09979, allocations: 79.22 kB / 0.5525 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.09983, allocations: 79.28 kB / 0.5525 GB, free: 12.27 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.0001558/0.09999, allocations: 276.3 kB / 0.5528 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.1001, allocations: 124.9 kB / 0.5529 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.265e-05/0.1001, allocations: 116.7 kB / 0.553 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-05/0.1002, allocations: 176.3 kB / 0.5532 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.138e-05/0.1003, allocations: 180.2 kB / 0.5534 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-05/0.1004, allocations: 184.2 kB / 0.5535 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.1007, allocations: 372.8 kB / 0.5539 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.425e-05/0.1007, allocations: 101 kB / 0.554 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.1008, allocations: 105 kB / 0.5541 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.359e-05/0.1009, allocations: 188.2 kB / 0.5543 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.043e-05/0.1009, allocations: 180.3 kB / 0.5545 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.143e-05/0.101, allocations: 184.1 kB / 0.5546 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-05/0.1011, allocations: 180.6 kB / 0.5548 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.1013, allocations: 319.7 kB / 0.5551 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.1014, allocations: 108.9 kB / 0.5552 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.209e-05/0.1014, allocations: 184.2 kB / 0.5554 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.1015, allocations: 108.9 kB / 0.5555 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.1016, allocations: 184.2 kB / 0.5557 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.1017, allocations: 105 kB / 0.5558 GB, free: 8.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1018, allocations: 120.1 kB / 0.5559 GB, free: 8.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1018, allocations: 4 kB / 0.5559 GB, free: 8.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.102, allocations: 4 kB / 0.5559 GB, free: 8.648 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.0001523/0.1022, allocations: 170.5 kB / 0.556 GB, free: 8.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.456e-05/0.1022, allocations: 8 kB / 0.5561 GB, free: 8.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1022, allocations: 0 / 0.5561 GB, free: 8.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.1022, allocations: 3.938 kB / 0.5561 GB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.1028, allocations: 467.7 kB / 0.5565 GB, free: 8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.1031, allocations: 258.5 kB / 0.5568 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.509e-05/0.1032, allocations: 87.31 kB / 0.5568 GB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.1033, allocations: 11.44 kB / 0.5568 GB, free: 7.598 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1033, allocations: 0 / 0.5568 GB, free: 7.598 MB / 382.1 MB Notification: Performance of Templates: time 0.002539/0.1058, allocations: 0.8573 MB / 0.5577 GB, free: 6.738 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.462872290983796] Failed to read output from testmodel.py, exit status != 0: 0.113200091291219 0.311722504 0.212668094 Calling exit ...