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.001023/0.001023, allocations: 86.05 kB / 19.87 MB, free: 4.617 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 1.082/1.082, allocations: 177.1 MB / 200.2 MB, free: 5.711 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.001371/0.001371, allocations: 152.7 kB / 256.9 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.02424/0.02424, allocations: 6.657 MB / 320.1 MB, free: 26.36 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.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 1.723e-06/1.723e-06, allocations: 0 / 392.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.364e-05, allocations: 6.109 kB / 392.1 MB, free: 2.273 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.001819/0.001842, allocations: 1.305 MB / 393.4 MB, free: 0.957 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.003535, allocations: 1.176 MB / 394.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.003579, allocations: 0 / 394.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.00403, allocations: 79.52 kB / 394.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.005078, allocations: 410.3 kB / 395 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.968e-06/0.005082, allocations: 0 / 395 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.006455, allocations: 1.061 MB / 396.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.006497, allocations: 4 kB / 396.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.402e-05/0.006541, allocations: 19.92 kB / 396.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.028e-05/0.006572, allocations: 7.938 kB / 396.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.006582, allocations: 0 / 396.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.006735, allocations: 51.89 kB / 396.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.006787, allocations: 23.92 kB / 396.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.006805, allocations: 11.88 kB / 396.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.006971, allocations: 79.73 kB / 396.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006973, allocations: 0 / 396.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006974, allocations: 0 / 396.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.006978, allocations: 0 / 396.3 MB, free: 14.04 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.0003285/0.007306, allocations: 416.1 kB / 396.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.007346, allocations: 12.03 kB / 396.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.007593, allocations: 148 kB / 396.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.007939, allocations: 368 kB / 397.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.008003, allocations: 242.8 kB / 397.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.008059, allocations: 238.8 kB / 397.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.547e-05/0.008124, allocations: 149.5 kB / 397.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.008157, allocations: 119.4 kB / 397.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/0.008219, allocations: 250.7 kB / 398.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.721e-05/0.008286, allocations: 242.3 kB / 398.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.008346, allocations: 246.3 kB / 398.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.008856, allocations: 0.5609 MB / 399.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.028e-05/0.008946, allocations: 269.4 kB / 399.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.008979, allocations: 126.9 kB / 399.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.009006, allocations: 119.2 kB / 399.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.009062, allocations: 164.5 kB / 399.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.009064, allocations: 0 / 399.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.06e-05/0.009124, allocations: 33.66 kB / 399.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.009175, allocations: 170.6 kB / 400.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.009327, allocations: 230.5 kB / 400.3 MB, free: 9.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.009334, allocations: 25.7 kB / 400.3 MB, free: 9.805 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.009391, allocations: 154.8 kB / 400.5 MB, free: 9.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.009393, allocations: 4 kB / 400.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.009414, allocations: 15.38 kB / 400.5 MB, free: 9.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.009541, allocations: 0.4962 MB / 401 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-06/0.009544, allocations: 0 / 401 MB, free: 9.113 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-06/0.009547, allocations: 0 / 401 MB, free: 9.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.009581, allocations: 127.1 kB / 401.1 MB, free: 8.988 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-05/0.009608, allocations: 119.2 kB / 401.2 MB, free: 8.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.484e-05/0.009662, allocations: 37.66 kB / 401.3 MB, free: 8.828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/0.009701, allocations: 123.2 kB / 401.4 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/0.009732, allocations: 123.2 kB / 401.5 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.69e-05/0.009799, allocations: 250.3 kB / 401.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.189e-05/0.009831, allocations: 119.2 kB / 401.9 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.154e-05/0.009892, allocations: 250.4 kB / 402.1 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.00996, allocations: 127.1 kB / 402.3 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.009989, allocations: 119.2 kB / 402.4 MB, free: 7.734 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.0001314/0.01012, allocations: 398.9 kB / 402.8 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.01018, allocations: 160.8 kB / 402.9 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.01024, allocations: 157.4 kB / 403.1 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-05/0.01031, allocations: 268 kB / 403.3 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-05/0.01037, allocations: 268.1 kB / 403.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.594e-05/0.01044, allocations: 276 kB / 403.9 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.01065, allocations: 496.4 kB / 404.3 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/0.01069, allocations: 148.9 kB / 404.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.01073, allocations: 152.8 kB / 404.6 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.627e-05/0.01079, allocations: 268.1 kB / 404.9 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.606e-05/0.01086, allocations: 264.1 kB / 405.2 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.224e-05/0.01092, allocations: 268.4 kB / 405.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.559e-05/0.01099, allocations: 268.1 kB / 405.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.01114, allocations: 459.9 kB / 406.1 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.01119, allocations: 160.7 kB / 406.3 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-05/0.01127, allocations: 272.1 kB / 406.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.0116, allocations: 148.9 kB / 406.7 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.01167, allocations: 268 kB / 407 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.01171, allocations: 152.9 kB / 407.1 MB, free: 2.793 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.187e-05/0.01178, allocations: 155.8 kB / 407.3 MB, free: 2.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01178, allocations: 0 / 407.3 MB, free: 2.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.01201, allocations: 0 / 407.3 MB, free: 2.641 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.0001393/0.01215, allocations: 218.4 kB / 407.5 MB, free: 2.418 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.095e-05/0.01219, allocations: 7.875 kB / 407.5 MB, free: 2.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0122, allocations: 4 kB / 407.5 MB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.0122, allocations: 0 / 407.5 MB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.01266, allocations: 0.7178 MB / 408.2 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.01311, allocations: 284.9 kB / 408.5 MB, free: 1.375 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.228e-05/0.01316, allocations: 63.34 kB / 408.6 MB, free: 1.293 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.5e-05/0.01319, allocations: 7.984 kB / 408.6 MB, free: 1.285 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.01325, allocations: 78.2 kB / 408.6 MB, free: 1.207 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01325, allocations: 0 / 408.6 MB, free: 1.207 MB / 330.7 MB Notification: Performance of Templates: time 0.002432/0.01568, allocations: 0.5402 MB / 409.2 MB, free: 0.6797 MB / 330.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 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1729190787300467]