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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 114.8 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 245.5 MB, free: 14.15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 204.9 kB / 300.5 MB, free: 9.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04348/0.04348, allocations: 8.935 MB / 364.3 MB, free: 10.15 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 84.02 kB / 487.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08999/0.0924, allocations: 54.41 MB / 0.5289 GB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002412/0.09481, allocations: 1.245 MB / 0.5302 GB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.09683, allocations: 1.173 MB / 0.5313 GB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.09686, allocations: 0 / 0.5313 GB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.09726, allocations: 75.62 kB / 0.5314 GB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.09828, allocations: 402.5 kB / 0.5318 GB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.616e-06/0.09828, allocations: 0 / 0.5318 GB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.09965, allocations: 0.7685 MB / 0.5325 GB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.09969, allocations: 4 kB / 0.5325 GB, free: 13.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.09971, allocations: 7.938 kB / 0.5325 GB, free: 13.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.09976, allocations: 23.86 kB / 0.5325 GB, free: 13.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.09977, allocations: 0 / 0.5325 GB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.09995, allocations: 39.92 kB / 0.5326 GB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.1, allocations: 23.84 kB / 0.5326 GB, free: 13.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.1, allocations: 19.88 kB / 0.5326 GB, free: 13.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1002, allocations: 75.61 kB / 0.5327 GB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1002, allocations: 0 / 0.5327 GB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1002, allocations: 0 / 0.5327 GB, free: 12.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1002, allocations: 0 / 0.5327 GB, free: 12.96 MB / 350.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.0004693/0.1007, allocations: 383 kB / 0.5331 GB, free: 12.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1007, allocations: 16.03 kB / 0.5331 GB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.1011, allocations: 112.1 kB / 0.5332 GB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.1016, allocations: 351.2 kB / 0.5335 GB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.096e-05/0.1017, allocations: 154.9 kB / 0.5337 GB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/0.1018, allocations: 154.9 kB / 0.5338 GB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.134e-05/0.1018, allocations: 113.3 kB / 0.5339 GB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/0.1019, allocations: 79.27 kB / 0.534 GB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.102, allocations: 154.5 kB / 0.5341 GB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.102, allocations: 150.6 kB / 0.5343 GB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.1021, allocations: 150.6 kB / 0.5344 GB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.1025, allocations: 461.9 kB / 0.5349 GB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.1026, allocations: 173.1 kB / 0.535 GB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.1026, allocations: 88.12 kB / 0.5351 GB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.1026, allocations: 75.28 kB / 0.5352 GB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/0.1027, allocations: 117.8 kB / 0.5353 GB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1027, allocations: 0 / 0.5353 GB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.585e-05/0.1028, allocations: 41.59 kB / 0.5353 GB, free: 10.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.1028, allocations: 126.7 kB / 0.5355 GB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.103, allocations: 158.2 kB / 0.5356 GB, free: 9.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.103, allocations: 25.7 kB / 0.5356 GB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.1031, allocations: 104.1 kB / 0.5357 GB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.1031, allocations: 4 kB / 0.5357 GB, free: 9.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.1031, allocations: 9.719 kB / 0.5357 GB, free: 9.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1033, allocations: 322.8 kB / 0.5361 GB, free: 9.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-06/0.1033, allocations: 0 / 0.5361 GB, free: 9.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-06/0.1033, allocations: 3.938 kB / 0.5361 GB, free: 9.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.214e-05/0.1033, allocations: 75.28 kB / 0.5361 GB, free: 9.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-05/0.1034, allocations: 75.28 kB / 0.5362 GB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.928e-05/0.1034, allocations: 37.66 kB / 0.5362 GB, free: 9.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.1035, allocations: 87.22 kB / 0.5363 GB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/0.1035, allocations: 75.28 kB / 0.5364 GB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.973e-05/0.1036, allocations: 154.5 kB / 0.5365 GB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.354e-05/0.1036, allocations: 79.28 kB / 0.5366 GB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.215e-05/0.1037, allocations: 158.5 kB / 0.5368 GB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.1038, allocations: 79.28 kB / 0.5368 GB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.1038, allocations: 83.22 kB / 0.5369 GB, free: 8.379 MB / 350.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.0001976/0.104, allocations: 272.3 kB / 0.5372 GB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.1041, allocations: 116.9 kB / 0.5373 GB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.1042, allocations: 112.8 kB / 0.5374 GB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.33e-05/0.1043, allocations: 184.2 kB / 0.5376 GB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.69e-05/0.1043, allocations: 184.3 kB / 0.5378 GB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-05/0.1044, allocations: 184.2 kB / 0.5379 GB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.1047, allocations: 425.2 kB / 0.5383 GB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.086e-05/0.1048, allocations: 101 kB / 0.5384 GB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.1048, allocations: 104.9 kB / 0.5385 GB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.1049, allocations: 180.2 kB / 0.5387 GB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.601e-05/0.105, allocations: 188.2 kB / 0.5389 GB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.005e-05/0.1051, allocations: 180.2 kB / 0.5391 GB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.039e-05/0.1052, allocations: 176.3 kB / 0.5392 GB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.1053, allocations: 311.7 kB / 0.5395 GB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1054, allocations: 197.9 kB / 0.5397 GB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/0.1055, allocations: 184.3 kB / 0.5399 GB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1056, allocations: 105 kB / 0.54 GB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/0.1057, allocations: 180.2 kB / 0.5402 GB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.1058, allocations: 101 kB / 0.5403 GB, free: 4.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1059, allocations: 128 kB / 0.5404 GB, free: 4.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1059, allocations: 4 kB / 0.5404 GB, free: 4.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1061, allocations: 4 kB / 0.5404 GB, free: 4.605 MB / 350.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.0001426/0.1063, allocations: 170.5 kB / 0.5405 GB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.154e-05/0.1063, allocations: 4.422 kB / 0.5405 GB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1063, allocations: 0 / 0.5405 GB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1063, allocations: 0 / 0.5405 GB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.1069, allocations: 474.3 kB / 0.541 GB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.1072, allocations: 262.4 kB / 0.5413 GB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1076, allocations: 0.7 MB / 0.5419 GB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.1076, allocations: 11.44 kB / 0.5419 GB, free: 2.934 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1076, allocations: 0 / 0.5419 GB, free: 2.934 MB / 350.1 MB Notification: Performance of Templates: time 0.002612/0.1102, allocations: 0.8345 MB / 0.5428 GB, free: 2.102 MB / 350.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: 6.8906109388917685] Failed to read output from testmodel.py, exit status != 0: 0.26216821698471904 0.132495875 0.029245617 Calling exit ...