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.0009783/0.0009783, allocations: 92.22 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 0.9812/0.9812, allocations: 177.1 MB / 200 MB, free: 5.504 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.001682/0.001682, allocations: 156.7 kB / 256.6 MB, free: 12.99 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.02608/0.02608, allocations: 6.652 MB / 319.8 MB, free: 11.65 MB / 298.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.824e-06/1.824e-06, allocations: 0 / 391.6 MB, free: 3.695 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.678e-05, allocations: 2.312 kB / 391.6 MB, free: 3.691 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002201/0.002228, allocations: 1.298 MB / 392.9 MB, free: 2.383 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.003534, allocations: 1.172 MB / 394.1 MB, free: 1.203 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.003561, allocations: 0 / 394.1 MB, free: 1.203 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.0039, allocations: 87.52 kB / 394.2 MB, free: 1.117 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007083/0.004609, allocations: 410.3 kB / 394.6 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.004612, allocations: 4 kB / 394.6 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008669/0.005479, allocations: 0.8348 MB / 395.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.087e-05/0.00551, allocations: 7.984 kB / 395.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.005539, allocations: 11.94 kB / 395.4 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.597e-05/0.005565, allocations: 15.91 kB / 395.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.005573, allocations: 0 / 395.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.00569, allocations: 47.86 kB / 395.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.005737, allocations: 23.92 kB / 395.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.005756, allocations: 19.92 kB / 395.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.006032, allocations: 71.75 kB / 395.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.006034, allocations: 0 / 395.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.006036, allocations: 0 / 395.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.006039, allocations: 0 / 395.6 MB, free: 15.68 MB / 378.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.0002801/0.006319, allocations: 408.2 kB / 396 MB, free: 15.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.00635, allocations: 12.03 kB / 396 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.006558, allocations: 160 kB / 396.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.006893, allocations: 371.3 kB / 396.6 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/0.006942, allocations: 242.8 kB / 396.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.006989, allocations: 238.8 kB / 397 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.41e-05/0.007043, allocations: 149.5 kB / 397.2 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.007067, allocations: 119.4 kB / 397.3 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.007116, allocations: 242.7 kB / 397.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/0.007167, allocations: 250.2 kB / 397.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.007212, allocations: 242.4 kB / 398 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.007434, allocations: 0.5876 MB / 398.6 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.495e-05/0.007509, allocations: 273.4 kB / 398.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.007538, allocations: 126.9 kB / 399 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.007563, allocations: 119.2 kB / 399.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.007602, allocations: 160.5 kB / 399.3 MB, free: 11.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.007602, allocations: 0 / 399.3 MB, free: 11.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.581e-05/0.007668, allocations: 37.64 kB / 399.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.007724, allocations: 174.5 kB / 399.5 MB, free: 11.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.007866, allocations: 217.8 kB / 399.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.007874, allocations: 25.7 kB / 399.7 MB, free: 11.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.007919, allocations: 150.9 kB / 399.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-06/0.007921, allocations: 4 kB / 399.9 MB, free: 11.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.007939, allocations: 15.38 kB / 399.9 MB, free: 11.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.008042, allocations: 0.5001 MB / 400.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.008046, allocations: 0 / 400.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-06/0.008049, allocations: 3.938 kB / 400.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.008075, allocations: 119.2 kB / 400.5 MB, free: 10.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.231e-05/0.008097, allocations: 119.2 kB / 400.6 MB, free: 10.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.966e-05/0.008137, allocations: 37.64 kB / 400.6 MB, free: 10.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.00817, allocations: 127.2 kB / 400.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.008194, allocations: 119.2 kB / 400.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-05/0.008249, allocations: 242.3 kB / 401.1 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.549e-05/0.008275, allocations: 127.2 kB / 401.2 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.853e-05/0.008323, allocations: 254.2 kB / 401.5 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.008371, allocations: 119.2 kB / 401.6 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.008394, allocations: 123.2 kB / 401.7 MB, free: 9.352 MB / 378.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 9.542e-05/0.008489, allocations: 398.9 kB / 402.1 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.008533, allocations: 160.7 kB / 402.3 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.008584, allocations: 160.5 kB / 402.4 MB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.525e-05/0.00864, allocations: 268 kB / 402.7 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-05/0.008695, allocations: 276 kB / 403 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001955/0.00889, allocations: 268 kB / 403.2 MB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.00905, allocations: 0.5116 MB / 403.7 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/0.009079, allocations: 148.9 kB / 403.9 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.00911, allocations: 156.9 kB / 404 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.124e-05/0.009161, allocations: 268.1 kB / 404.3 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/0.009218, allocations: 268 kB / 404.6 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-05/0.009271, allocations: 264.4 kB / 404.8 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.442e-05/0.009326, allocations: 268.1 kB / 405.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.009463, allocations: 467.9 kB / 405.5 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.009505, allocations: 156.8 kB / 405.7 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.009575, allocations: 264.1 kB / 405.9 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/0.009633, allocations: 152.9 kB / 406.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.009693, allocations: 272 kB / 406.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.009728, allocations: 148.8 kB / 406.5 MB, free: 4.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.0098, allocations: 163.1 kB / 406.7 MB, free: 4.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.0098, allocations: 0 / 406.7 MB, free: 4.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001574/0.009957, allocations: 4 kB / 406.7 MB, free: 4.203 MB / 378.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.0001309/0.01009, allocations: 210.4 kB / 406.9 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.01e-05/0.01014, allocations: 3.938 kB / 406.9 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01014, allocations: 0 / 406.9 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.01014, allocations: 8 kB / 406.9 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.01055, allocations: 0.714 MB / 407.6 MB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.01099, allocations: 277.2 kB / 407.9 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.01102, allocations: 63.34 kB / 407.9 MB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.545e-05/0.01105, allocations: 3.984 kB / 407.9 MB, free: 2.871 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.01107, allocations: 12.5 kB / 407.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01107, allocations: 0 / 407.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of Templates: time 0.002131/0.0132, allocations: 0.5069 MB / 408.5 MB, free: 2.363 MB / 378.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.1319748517125845]