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.00146/0.00146, allocations: 78.88 kB / 19.76 MB, free: 2.031 MB / 14.72 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.574/1.574, allocations: 177.2 MB / 200.1 MB, free: 8.367 MB / 190.1 MB " [Timeout remaining time 178] 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.001722/0.001722, allocations: 160.9 kB / 256.6 MB, free: 4.309 MB / 238.1 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.03989/0.03989, allocations: 6.655 MB / 319.6 MB, free: 5.391 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002544/0.002544, allocations: 79.88 kB / 446.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1426, allocations: 55.59 MB / 0.4902 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002673/0.1453, allocations: 1.263 MB / 0.4915 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.1474, allocations: 1.144 MB / 0.4926 GB, free: 344 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.1474, allocations: 0 / 0.4926 GB, free: 344 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.1479, allocations: 83.62 kB / 0.4927 GB, free: 260 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1489, allocations: 398.6 kB / 0.4931 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.729e-06/0.1489, allocations: 0 / 0.4931 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.1503, allocations: 0.827 MB / 0.4939 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.1504, allocations: 7.984 kB / 0.4939 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.1504, allocations: 7.938 kB / 0.4939 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.1504, allocations: 15.92 kB / 0.4939 GB, free: 15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1505, allocations: 0 / 0.4939 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1506, allocations: 47.92 kB / 0.4939 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.1507, allocations: 31.89 kB / 0.494 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.1507, allocations: 11.88 kB / 0.494 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.1509, allocations: 79.67 kB / 0.4941 GB, free: 14.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1509, allocations: 3.938 kB / 0.4941 GB, free: 14.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1509, allocations: 0 / 0.4941 GB, free: 14.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1509, allocations: 0 / 0.4941 GB, free: 14.83 MB / 430.1 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.0004396/0.1513, allocations: 309.8 kB / 0.4944 GB, free: 14.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1514, allocations: 15.98 kB / 0.4944 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003594/0.1517, allocations: 104.1 kB / 0.4945 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.1523, allocations: 325.4 kB / 0.4948 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.1523, allocations: 158.9 kB / 0.4949 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.1524, allocations: 150.9 kB / 0.4951 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.959e-05/0.1525, allocations: 109.3 kB / 0.4952 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.1525, allocations: 79.22 kB / 0.4953 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/0.1526, allocations: 150.6 kB / 0.4954 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.379e-05/0.1527, allocations: 154.6 kB / 0.4955 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.412e-05/0.1527, allocations: 150.6 kB / 0.4957 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.1531, allocations: 413.6 kB / 0.4961 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1532, allocations: 177.1 kB / 0.4963 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.1532, allocations: 84.08 kB / 0.4963 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/0.1533, allocations: 75.28 kB / 0.4964 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.541e-05/0.1533, allocations: 109.8 kB / 0.4965 GB, free: 12.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1533, allocations: 0 / 0.4965 GB, free: 12.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.58e-05/0.1534, allocations: 41.58 kB / 0.4965 GB, free: 12.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/0.1535, allocations: 126.7 kB / 0.4967 GB, free: 12.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1537, allocations: 158.2 kB / 0.4968 GB, free: 11.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1537, allocations: 25.7 kB / 0.4968 GB, free: 11.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.1538, allocations: 108.1 kB / 0.4969 GB, free: 11.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.1538, allocations: 0 / 0.4969 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.1538, allocations: 13.72 kB / 0.497 GB, free: 11.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.154, allocations: 322.8 kB / 0.4973 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.154, allocations: 3.938 kB / 0.4973 GB, free: 11.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-06/0.154, allocations: 0 / 0.4973 GB, free: 11.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.154, allocations: 75.28 kB / 0.4973 GB, free: 11.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.489e-05/0.1541, allocations: 75.28 kB / 0.4974 GB, free: 11.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.545e-05/0.1541, allocations: 37.66 kB / 0.4975 GB, free: 11.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.1542, allocations: 79.28 kB / 0.4975 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/0.1542, allocations: 79.22 kB / 0.4976 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.604e-05/0.1543, allocations: 158.5 kB / 0.4978 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.706e-05/0.1544, allocations: 79.28 kB / 0.4978 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.9e-05/0.1544, allocations: 158.5 kB / 0.498 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.47e-05/0.1545, allocations: 83.28 kB / 0.4981 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.1545, allocations: 83.25 kB / 0.4981 GB, free: 10.46 MB / 430.1 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.0001611/0.1547, allocations: 272.3 kB / 0.4984 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.1548, allocations: 117 kB / 0.4985 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.897e-05/0.1548, allocations: 112.7 kB / 0.4986 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-05/0.1549, allocations: 184.2 kB / 0.4988 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.322e-05/0.155, allocations: 180.3 kB / 0.499 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.344e-05/0.1551, allocations: 184.2 kB / 0.4991 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.1553, allocations: 372.8 kB / 0.4995 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.516e-05/0.1554, allocations: 105 kB / 0.4996 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.1554, allocations: 104.9 kB / 0.4997 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-05/0.1555, allocations: 184.2 kB / 0.4999 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.45e-05/0.1556, allocations: 180.2 kB / 0.5 GB, free: 8.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.694e-05/0.1557, allocations: 184.1 kB / 0.5002 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.79e-05/0.1558, allocations: 184.6 kB / 0.5004 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.156, allocations: 319.8 kB / 0.5007 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.156, allocations: 112.9 kB / 0.5008 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.1561, allocations: 180.2 kB / 0.501 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1562, allocations: 112.9 kB / 0.5011 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/0.1563, allocations: 188.2 kB / 0.5013 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.1564, allocations: 101 kB / 0.5014 GB, free: 6.973 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1565, allocations: 124.1 kB / 0.5015 GB, free: 6.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1565, allocations: 0 / 0.5015 GB, free: 6.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1567, allocations: 4 kB / 0.5015 GB, free: 6.848 MB / 430.1 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.0001604/0.1569, allocations: 166.5 kB / 0.5016 GB, free: 6.672 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.859e-05/0.157, allocations: 7.938 kB / 0.5017 GB, free: 6.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.157, allocations: 0 / 0.5017 GB, free: 6.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.157, allocations: 0 / 0.5017 GB, free: 6.664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.1575, allocations: 471.7 kB / 0.5021 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.1579, allocations: 232.6 kB / 0.5023 GB, free: 5.945 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.158, allocations: 83.31 kB / 0.5024 GB, free: 5.844 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.297e-05/0.158, allocations: 4 kB / 0.5024 GB, free: 5.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.158, allocations: 12.5 kB / 0.5024 GB, free: 5.828 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.158, allocations: 0 / 0.5024 GB, free: 5.828 MB / 430.1 MB Notification: Performance of Templates: time 0.003186/0.1612, allocations: 0.4909 MB / 0.5029 GB, free: 5.348 MB / 430.1 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=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.509324555052444] Failed to read output from testmodel.py, exit status != 0: 0.1697861320571974 0.46956656900000004 0.31415167 Calling exit ...