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.00136/0.00136, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.133/1.133, allocations: 177.1 MB / 200 MB, free: 5.492 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.001303/0.001303, allocations: 152.7 kB / 256.6 MB, free: 12.97 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.0235/0.0235, allocations: 6.661 MB / 319.8 MB, free: 26.52 MB / 266.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.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 1.553e-06/1.553e-06, allocations: 0 / 391.6 MB, free: 2.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.339e-05, allocations: 6.312 kB / 391.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.00193/0.001963, allocations: 1.305 MB / 392.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.003384, allocations: 1.191 MB / 394.1 MB, free: 64 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.003421, allocations: 0 / 394.1 MB, free: 64 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.003879, allocations: 75.64 kB / 394.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008688/0.004748, allocations: 422.2 kB / 394.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.004752, allocations: 0 / 394.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008936/0.005646, allocations: 0.8426 MB / 395.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.005688, allocations: 8 kB / 395.5 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.005725, allocations: 11.92 kB / 395.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.144e-05/0.005757, allocations: 15.92 kB / 395.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.005765, allocations: 0 / 395.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.00589, allocations: 43.91 kB / 395.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.00595, allocations: 23.92 kB / 395.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.005974, allocations: 7.938 kB / 395.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.006134, allocations: 79.73 kB / 395.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.006137, allocations: 0 / 395.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.006138, allocations: 7.938 kB / 395.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.006143, allocations: 0 / 395.6 MB, free: 14.54 MB / 330.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.0003551/0.006498, allocations: 404.2 kB / 396 MB, free: 14.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.006535, allocations: 12.03 kB / 396.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.006746, allocations: 152 kB / 396.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.007094, allocations: 363.2 kB / 396.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.007153, allocations: 246.7 kB / 396.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.007202, allocations: 246.8 kB / 397 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.257e-05/0.007264, allocations: 149.5 kB / 397.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.007294, allocations: 119.4 kB / 397.3 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.007348, allocations: 238.8 kB / 397.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.00741, allocations: 246.3 kB / 397.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.181e-05/0.007462, allocations: 242.4 kB / 398 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.007692, allocations: 0.5953 MB / 398.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.571e-05/0.007787, allocations: 265.4 kB / 398.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.007822, allocations: 126.9 kB / 399 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.007852, allocations: 123.2 kB / 399.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.007899, allocations: 156.6 kB / 399.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.0079, allocations: 4 kB / 399.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.973e-05/0.00796, allocations: 37.59 kB / 399.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.008019, allocations: 174.5 kB / 399.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.00816, allocations: 213.9 kB / 399.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.008168, allocations: 25.7 kB / 399.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.00822, allocations: 154.9 kB / 399.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.008221, allocations: 0 / 399.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.00824, allocations: 15.38 kB / 399.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.008361, allocations: 0.4962 MB / 400.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.008365, allocations: 0 / 400.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-06/0.008368, allocations: 0 / 400.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.008397, allocations: 123.2 kB / 400.5 MB, free: 9.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-05/0.008425, allocations: 123.2 kB / 400.6 MB, free: 9.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.998e-05/0.008465, allocations: 41.59 kB / 400.7 MB, free: 9.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.008501, allocations: 123.2 kB / 400.8 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/0.008536, allocations: 119.2 kB / 400.9 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.236e-05/0.008599, allocations: 246.4 kB / 401.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.852e-05/0.008627, allocations: 123.1 kB / 401.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.114e-05/0.008678, allocations: 242.3 kB / 401.5 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.008731, allocations: 123.1 kB / 401.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.008757, allocations: 123.2 kB / 401.7 MB, free: 8.23 MB / 330.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 0.0001064/0.008863, allocations: 402.9 kB / 402.1 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.008915, allocations: 152.8 kB / 402.3 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.165e-05/0.008967, allocations: 160.6 kB / 402.4 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-05/0.009034, allocations: 268.1 kB / 402.7 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.257e-05/0.009097, allocations: 276 kB / 403 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.213e-05/0.009159, allocations: 268.1 kB / 403.2 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.009347, allocations: 0.5116 MB / 403.7 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-05/0.009379, allocations: 148.9 kB / 403.9 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.009417, allocations: 152.9 kB / 404 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.916e-05/0.009477, allocations: 276 kB / 404.3 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/0.009534, allocations: 268.1 kB / 404.6 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.859e-05/0.009592, allocations: 272.4 kB / 404.8 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.546e-05/0.009648, allocations: 268.1 kB / 405.1 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.009778, allocations: 459.9 kB / 405.5 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.009813, allocations: 152.8 kB / 405.7 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/0.00989, allocations: 272 kB / 405.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.998e-05/0.00994, allocations: 144.9 kB / 406.1 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/0.01003, allocations: 272.1 kB / 406.4 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.01007, allocations: 152.8 kB / 406.5 MB, free: 3.246 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.197e-05/0.01013, allocations: 156 kB / 406.7 MB, free: 3.094 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01013, allocations: 0 / 406.7 MB, free: 3.094 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.01028, allocations: 8 kB / 406.7 MB, free: 3.086 MB / 330.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 0.0001112/0.01039, allocations: 218.4 kB / 406.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.155e-05/0.01043, allocations: 4 kB / 406.9 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01043, allocations: 0 / 406.9 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.01043, allocations: 4 kB / 406.9 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.01086, allocations: 0.7177 MB / 407.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.01133, allocations: 280.8 kB / 407.9 MB, free: 1.828 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.166e-05/0.01137, allocations: 74.45 kB / 407.9 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.0114, allocations: 0 / 407.9 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.01142, allocations: 12.5 kB / 408 MB, free: 1.727 MB / 330.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01142, allocations: 0 / 408 MB, free: 1.727 MB / 330.7 MB Notification: Performance of Templates: time 0.002388/0.01381, allocations: 0.5449 MB / 408.5 MB, free: 1.195 MB / 330.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.318756577093154]