Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.001295/0.001295, allocations: 120.1 kB / 17.13 MB, free: 5.758 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.408/1.408, allocations: 225.6 MB / 245.5 MB, free: 14.16 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.001493/0.001493, allocations: 213.8 kB / 300.5 MB, free: 9.812 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.04391/0.04391, allocations: 8.939 MB / 364.3 MB, free: 10.16 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.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 89.34 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09327, allocations: 54.4 MB / 0.5289 GB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002342/0.09561, allocations: 1.242 MB / 0.5301 GB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.0976, allocations: 1.177 MB / 0.5313 GB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.09762, allocations: 0 / 0.5313 GB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.098, allocations: 75.62 kB / 0.5314 GB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009544/0.09895, allocations: 400.8 kB / 0.5318 GB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.787e-06/0.09896, allocations: 0 / 0.5318 GB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.1006, allocations: 0.9637 MB / 0.5327 GB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.1006, allocations: 7.984 kB / 0.5327 GB, free: 12.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.708e-05/0.1007, allocations: 7.938 kB / 0.5327 GB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.1007, allocations: 19.86 kB / 0.5327 GB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.1007, allocations: 4 kB / 0.5327 GB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1009, allocations: 43.91 kB / 0.5328 GB, free: 12.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.1009, allocations: 19.92 kB / 0.5328 GB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.101, allocations: 19.81 kB / 0.5328 GB, free: 12.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1011, allocations: 75.67 kB / 0.5329 GB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1011, allocations: 0 / 0.5329 GB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1011, allocations: 4 kB / 0.5329 GB, free: 12.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1011, allocations: 0 / 0.5329 GB, free: 12.79 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.0004406/0.1016, allocations: 386.8 kB / 0.5333 GB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.1016, allocations: 12.03 kB / 0.5333 GB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.102, allocations: 116.1 kB / 0.5334 GB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.1024, allocations: 348 kB / 0.5337 GB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.167e-05/0.1025, allocations: 150.9 kB / 0.5339 GB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.1026, allocations: 154.9 kB / 0.534 GB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.593e-05/0.1026, allocations: 113.2 kB / 0.5341 GB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.1027, allocations: 87.27 kB / 0.5342 GB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/0.1027, allocations: 154.5 kB / 0.5343 GB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.484e-05/0.1028, allocations: 150.6 kB / 0.5345 GB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.219e-05/0.1029, allocations: 150.6 kB / 0.5346 GB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.1032, allocations: 461.9 kB / 0.5351 GB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.961e-05/0.1033, allocations: 169.1 kB / 0.5352 GB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.1034, allocations: 80.14 kB / 0.5353 GB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.1034, allocations: 79.22 kB / 0.5354 GB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.189e-05/0.1035, allocations: 121.8 kB / 0.5355 GB, free: 9.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1035, allocations: 0 / 0.5355 GB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.68e-05/0.1036, allocations: 37.64 kB / 0.5355 GB, free: 9.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.1036, allocations: 126.7 kB / 0.5357 GB, free: 9.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1038, allocations: 168 kB / 0.5358 GB, free: 9.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1038, allocations: 29.7 kB / 0.5358 GB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.1039, allocations: 104.1 kB / 0.5359 GB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-06/0.1039, allocations: 0 / 0.5359 GB, free: 9.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.1039, allocations: 13.72 kB / 0.536 GB, free: 9.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1041, allocations: 322.8 kB / 0.5363 GB, free: 9.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-06/0.1041, allocations: 0 / 0.5363 GB, free: 9.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-06/0.1041, allocations: 3.938 kB / 0.5363 GB, free: 9.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.1041, allocations: 75.28 kB / 0.5363 GB, free: 9.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.149e-05/0.1041, allocations: 75.28 kB / 0.5364 GB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.293e-05/0.1042, allocations: 41.64 kB / 0.5365 GB, free: 8.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.1043, allocations: 87.22 kB / 0.5365 GB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/0.1043, allocations: 75.28 kB / 0.5366 GB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.291e-05/0.1044, allocations: 154.5 kB / 0.5368 GB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.201e-05/0.1044, allocations: 83.28 kB / 0.5368 GB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-05/0.1045, allocations: 154.5 kB / 0.537 GB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-05/0.1046, allocations: 75.28 kB / 0.5371 GB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.1046, allocations: 79.33 kB / 0.5371 GB, free: 8.195 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.0001912/0.1048, allocations: 284.3 kB / 0.5374 GB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.1049, allocations: 116.8 kB / 0.5375 GB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/0.1049, allocations: 121.5 kB / 0.5376 GB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.912e-05/0.105, allocations: 184.2 kB / 0.5378 GB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-05/0.1051, allocations: 176.3 kB / 0.538 GB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.2e-05/0.1052, allocations: 188.2 kB / 0.5381 GB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.1055, allocations: 417.2 kB / 0.5385 GB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.441e-05/0.1055, allocations: 105 kB / 0.5386 GB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/0.1056, allocations: 108.9 kB / 0.5388 GB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.087e-05/0.1057, allocations: 180.2 kB / 0.5389 GB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.129e-05/0.1057, allocations: 188.2 kB / 0.5391 GB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-05/0.1058, allocations: 180.2 kB / 0.5393 GB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.867e-05/0.1059, allocations: 180.3 kB / 0.5394 GB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.1061, allocations: 311.7 kB / 0.5397 GB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1062, allocations: 193.9 kB / 0.5399 GB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.156e-05/0.1063, allocations: 184.3 kB / 0.5401 GB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.1064, allocations: 105 kB / 0.5402 GB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.1065, allocations: 184.2 kB / 0.5404 GB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.1065, allocations: 101 kB / 0.5405 GB, free: 4.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.1066, allocations: 127.9 kB / 0.5406 GB, free: 4.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1066, allocations: 3.938 kB / 0.5406 GB, free: 4.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1069, allocations: 8 kB / 0.5406 GB, free: 4.398 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.0001461/0.107, allocations: 170.5 kB / 0.5408 GB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.278e-05/0.1071, allocations: 8.422 kB / 0.5408 GB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1071, allocations: 0 / 0.5408 GB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.1071, allocations: 0 / 0.5408 GB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.1076, allocations: 474.5 kB / 0.5412 GB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.1079, allocations: 266.4 kB / 0.5415 GB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.1083, allocations: 0.7 MB / 0.5422 GB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.1083, allocations: 11.44 kB / 0.5422 GB, free: 2.715 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1083, allocations: 0 / 0.5422 GB, free: 2.715 MB / 350.1 MB Notification: Performance of Templates: time 0.002535/0.1109, allocations: 0.8621 MB / 0.543 GB, free: 1.855 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.863992373924702] Failed to read output from testmodel.py, exit status != 0: 0.2616307861171663 0.13264134800000002 0.028551866000000002 Calling exit ...