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.001145/0.001145, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.114/1.114, allocations: 177.1 MB / 200.3 MB, free: 5.398 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.001536/0.001536, allocations: 159.3 kB / 256.9 MB, free: 12.83 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.03049/0.03049, allocations: 6.658 MB / 320.1 MB, free: 11.44 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.803e-06/1.803e-06, allocations: 0 / 392.1 MB, free: 3.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.527e-05/3.707e-05, allocations: 2.312 kB / 392.1 MB, free: 3.359 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.003328/0.003365, allocations: 1.293 MB / 393.4 MB, free: 2.059 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.00572, allocations: 1.172 MB / 394.5 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.005761, allocations: 0 / 394.5 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.006247, allocations: 83.52 kB / 394.6 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.007379, allocations: 414.3 kB / 395 MB, free: 400 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.839e-06/0.007384, allocations: 0 / 395 MB, free: 400 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.008584, allocations: 0.8465 MB / 395.9 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.008623, allocations: 4 kB / 395.9 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.008658, allocations: 11.98 kB / 395.9 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.908e-05/0.008687, allocations: 11.94 kB / 395.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.008696, allocations: 0 / 395.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.00881, allocations: 51.83 kB / 396 MB, free: 15.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.008851, allocations: 19.92 kB / 396 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.008869, allocations: 15.94 kB / 396 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.008999, allocations: 79.73 kB / 396.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.009001, allocations: 0 / 396.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.009002, allocations: 0 / 396.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.009006, allocations: 4 kB / 396.1 MB, free: 15.35 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.0002735/0.009279, allocations: 408.1 kB / 396.5 MB, free: 14.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.009318, allocations: 12.03 kB / 396.5 MB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.009538, allocations: 152 kB / 396.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.009877, allocations: 359.3 kB / 397 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.009941, allocations: 238.8 kB / 397.2 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.287e-05/0.01, allocations: 242.8 kB / 397.5 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.025e-05/0.01007, allocations: 157.4 kB / 397.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.01011, allocations: 123.4 kB / 397.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.01016, allocations: 238.8 kB / 398 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-05/0.01022, allocations: 246.3 kB / 398.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.979e-05/0.01028, allocations: 246.4 kB / 398.4 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.0105, allocations: 0.5569 MB / 399 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.01058, allocations: 273.4 kB / 399.3 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005772/0.01116, allocations: 130.9 kB / 399.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.01119, allocations: 123.2 kB / 399.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.01123, allocations: 152.6 kB / 399.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.01123, allocations: 0 / 399.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 5.538e-05/0.01128, allocations: 33.66 kB / 399.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.01134, allocations: 170.6 kB / 399.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.01147, allocations: 225.7 kB / 400.1 MB, free: 11.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.01147, allocations: 25.7 kB / 400.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.01152, allocations: 150.8 kB / 400.3 MB, free: 10.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.22e-07/0.01152, allocations: 0 / 400.3 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.01154, allocations: 23.31 kB / 400.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.01167, allocations: 0.4962 MB / 400.8 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-06/0.01167, allocations: 4 kB / 400.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-06/0.01167, allocations: 0 / 400.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.855e-05/0.0117, allocations: 119.2 kB / 400.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.982e-05/0.01173, allocations: 119.2 kB / 401 MB, free: 10.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.952e-05/0.01177, allocations: 37.66 kB / 401 MB, free: 10.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.01181, allocations: 127.1 kB / 401.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.01183, allocations: 123.1 kB / 401.3 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.684e-05/0.01189, allocations: 242.4 kB / 401.5 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.911e-05/0.01192, allocations: 119.2 kB / 401.6 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-05/0.01198, allocations: 246.3 kB / 401.9 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.01203, allocations: 135.1 kB / 402 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.01206, allocations: 131.1 kB / 402.1 MB, free: 9.059 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 0.0001128/0.01217, allocations: 391 kB / 402.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.01222, allocations: 156.8 kB / 402.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.75e-05/0.01228, allocations: 160.5 kB / 402.8 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.714e-05/0.01234, allocations: 272 kB / 403.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.706e-05/0.01239, allocations: 268.1 kB / 403.4 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.077e-05/0.01245, allocations: 272 kB / 403.6 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.01263, allocations: 496.5 kB / 404.1 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/0.01266, allocations: 148.9 kB / 404.3 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.0127, allocations: 156.9 kB / 404.4 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.45e-05/0.01276, allocations: 268.1 kB / 404.7 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/0.01283, allocations: 268 kB / 404.9 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.361e-05/0.0129, allocations: 268.4 kB / 405.2 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.183e-05/0.01296, allocations: 268 kB / 405.5 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.01309, allocations: 459.9 kB / 405.9 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.01314, allocations: 156.8 kB / 406.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.01321, allocations: 264.1 kB / 406.3 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.982e-05/0.01327, allocations: 148.8 kB / 406.5 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.01334, allocations: 268.1 kB / 406.7 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003417/0.01368, allocations: 148.9 kB / 406.9 MB, free: 4.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.826e-05/0.01375, allocations: 155.1 kB / 407 MB, free: 3.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.01375, allocations: 0 / 407 MB, free: 3.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001558/0.01391, allocations: 7.938 kB / 407 MB, free: 3.973 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.0001141/0.01402, allocations: 222.4 kB / 407.3 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 2.944e-05/0.01405, allocations: 3.938 kB / 407.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01405, allocations: 0 / 407.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.01405, allocations: 4 kB / 407.3 MB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.01441, allocations: 0.71 MB / 408 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.01479, allocations: 285.2 kB / 408.2 MB, free: 2.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.01482, allocations: 63.33 kB / 408.3 MB, free: 2.633 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.491e-05/0.01486, allocations: 11.92 kB / 408.3 MB, free: 2.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.01491, allocations: 82.19 kB / 408.4 MB, free: 2.539 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01491, allocations: 0 / 408.4 MB, free: 2.539 MB / 378.7 MB Notification: Performance of Templates: time 0.002068/0.01698, allocations: 0.5253 MB / 408.9 MB, free: 2.02 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.0806415821425617]