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.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.0009598/0.0009598, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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 0.9316/0.9316, allocations: 177.2 MB / 200.3 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] 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.001385/0.001385, allocations: 160.6 kB / 257 MB, free: 12.98 MB / 250.7 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.0284/0.0284, allocations: 6.665 MB / 266.9 MB, free: 3.227 MB / 250.7 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.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 8.52e-07/8.52e-07, allocations: 0 / 285.7 MB, free: 484 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.295e-05, allocations: 5.266 kB / 285.7 MB, free: 480 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.1067/0.1067, allocations: 1.323 MB / 287 MB, free: 22.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1081, allocations: 1.198 MB / 288.2 MB, free: 21.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.1082, allocations: 3.938 kB / 288.2 MB, free: 21.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.1085, allocations: 75.39 kB / 288.3 MB, free: 21.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007646/0.1093, allocations: 410.8 kB / 288.7 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.226e-06/0.1093, allocations: 1.438 kB / 288.7 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.1104, allocations: 1.07 MB / 289.7 MB, free: 20.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.1105, allocations: 6.609 kB / 289.7 MB, free: 20.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.1105, allocations: 13.25 kB / 289.8 MB, free: 20.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.448e-05/0.1105, allocations: 12.05 kB / 289.8 MB, free: 20.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.834e-06/0.1105, allocations: 1.031 kB / 289.8 MB, free: 20.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.1107, allocations: 54.72 kB / 289.8 MB, free: 20.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.1107, allocations: 19.05 kB / 289.8 MB, free: 20.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.1107, allocations: 10.66 kB / 289.9 MB, free: 20.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.1109, allocations: 85.86 kB / 289.9 MB, free: 20.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1109, allocations: 1.469 kB / 289.9 MB, free: 20.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1109, allocations: 0 / 289.9 MB, free: 20.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1109, allocations: 1.094 kB / 289.9 MB, free: 20.87 MB / 266.7 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.0001938/0.1111, allocations: 280.4 kB / 290.2 MB, free: 20.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.1111, allocations: 11.5 kB / 290.2 MB, free: 20.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.1113, allocations: 116.7 kB / 290.3 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1115, allocations: 307.5 kB / 290.6 MB, free: 20.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1115, allocations: 152.3 kB / 290.8 MB, free: 20.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1116, allocations: 152 kB / 290.9 MB, free: 19.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.981e-05/0.1116, allocations: 103.4 kB / 291 MB, free: 19.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1116, allocations: 75.47 kB / 291.1 MB, free: 19.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1116, allocations: 159.2 kB / 291.3 MB, free: 19.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.1116, allocations: 159.2 kB / 291.4 MB, free: 19.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.338e-05/0.1116, allocations: 160 kB / 291.6 MB, free: 19.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.135e-05/0.1117, allocations: 355.8 kB / 291.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.133e-05/0.1118, allocations: 167.6 kB / 292.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.235e-06/0.1118, allocations: 81.42 kB / 292.2 MB, free: 18.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.1118, allocations: 81.31 kB / 292.2 MB, free: 18.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.1118, allocations: 107.6 kB / 292.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 5.81e-07/0.1118, allocations: 0 / 292.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.513e-05/0.1118, allocations: 32.69 kB / 292.4 MB, free: 18.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.1119, allocations: 126.7 kB / 292.5 MB, free: 18.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.481e-05/0.1119, allocations: 155.9 kB / 292.7 MB, free: 18.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-06/0.1119, allocations: 27.05 kB / 292.7 MB, free: 18.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.477e-05/0.112, allocations: 91.14 kB / 292.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.91e-07/0.112, allocations: 0 / 292.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.112, allocations: 13.03 kB / 292.8 MB, free: 18.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.112, allocations: 328.3 kB / 293.1 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-06/0.112, allocations: 4.375 kB / 293.1 MB, free: 17.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-06/0.112, allocations: 3.938 kB / 293.1 MB, free: 17.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-06/0.112, allocations: 76.44 kB / 293.2 MB, free: 17.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.112, allocations: 75.94 kB / 293.3 MB, free: 17.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.068e-05/0.1121, allocations: 32.3 kB / 293.3 MB, free: 17.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1121, allocations: 81.69 kB / 293.4 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1121, allocations: 77.81 kB / 293.5 MB, free: 17.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.1121, allocations: 156.3 kB / 293.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.863e-06/0.1121, allocations: 76.38 kB / 293.7 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.1121, allocations: 168.1 kB / 293.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.1122, allocations: 80.98 kB / 293.9 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1122, allocations: 76.31 kB / 294 MB, free: 16.9 MB / 266.7 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 4.365e-05/0.1122, allocations: 266.6 kB / 294.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.1122, allocations: 107.2 kB / 294.4 MB, free: 16.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.1123, allocations: 118.6 kB / 294.5 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.1123, allocations: 182.7 kB / 294.7 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.1123, allocations: 179.1 kB / 294.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.1123, allocations: 182.1 kB / 295 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.713e-05/0.1124, allocations: 331.1 kB / 295.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.1124, allocations: 107 kB / 295.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-06/0.1124, allocations: 110.7 kB / 295.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.1124, allocations: 183 kB / 295.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.1124, allocations: 190 kB / 295.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/0.1124, allocations: 178.4 kB / 296.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.397e-05/0.1125, allocations: 180.3 kB / 296.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.884e-05/0.1125, allocations: 310.5 kB / 296.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.1125, allocations: 122.9 kB / 296.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1126, allocations: 179.2 kB / 296.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.152e-05/0.1126, allocations: 106.7 kB / 297 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.1126, allocations: 182.2 kB / 297.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.1126, allocations: 106.7 kB / 297.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.481e-05/0.1126, allocations: 35.23 kB / 297.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1126, allocations: 1.094 kB / 297.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000131/0.1128, allocations: 4.062 kB / 297.3 MB, free: 13.53 MB / 266.7 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 7.202e-05/0.1128, allocations: 149.9 kB / 297.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.665e-05/0.1129, allocations: 11.25 kB / 297.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1129, allocations: 0 / 297.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.1129, allocations: 1.219 kB / 297.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.1131, allocations: 475.9 kB / 297.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.1134, allocations: 237.4 kB / 298.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.643e-05/0.1134, allocations: 67.41 kB / 298.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.461e-05/0.1134, allocations: 5.156 kB / 298.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.1134, allocations: 56.89 kB / 298.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1134, allocations: 3.938 kB / 298.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Templates: time 0.00193/0.1154, allocations: 0.5568 MB / 298.8 MB, free: 12.52 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.451249628327787]