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.001825/0.001825, allocations: 83.81 kB / 19.76 MB, free: 2.016 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.567/1.567, allocations: 177.2 MB / 200.1 MB, free: 8.359 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.001633/0.001633, allocations: 168.2 kB / 256.6 MB, free: 4.305 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.03885/0.03885, allocations: 6.663 MB / 319.6 MB, free: 5.383 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.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: 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.003002/0.003002, allocations: 83.88 kB / 446.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1368, allocations: 55.58 MB / 0.4902 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.003243/0.14, allocations: 1.265 MB / 0.4915 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.1424, allocations: 1.144 MB / 0.4926 GB, free: 328 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.1424, allocations: 0 / 0.4926 GB, free: 328 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.143, allocations: 79.62 kB / 0.4927 GB, free: 248 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.1443, allocations: 405.8 kB / 0.493 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.77e-05/0.1443, allocations: 0 / 0.493 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.1462, allocations: 1.038 MB / 0.4941 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.1462, allocations: 4 kB / 0.4941 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.1463, allocations: 11.92 kB / 0.4941 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.1463, allocations: 15.88 kB / 0.4941 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1463, allocations: 0 / 0.4941 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.1465, allocations: 51.95 kB / 0.4941 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.1466, allocations: 19.92 kB / 0.4942 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.1466, allocations: 15.88 kB / 0.4942 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1468, allocations: 83.61 kB / 0.4942 GB, free: 14.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1469, allocations: 4 kB / 0.4943 GB, free: 14.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1469, allocations: 0 / 0.4943 GB, free: 14.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1469, allocations: 3.938 kB / 0.4943 GB, free: 14.6 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.0004517/0.1473, allocations: 309.7 kB / 0.4946 GB, free: 14.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1474, allocations: 15.98 kB / 0.4946 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/0.1478, allocations: 116.1 kB / 0.4947 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005903/0.1484, allocations: 322.1 kB / 0.495 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/0.1485, allocations: 158.9 kB / 0.4951 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/0.1485, allocations: 158.9 kB / 0.4953 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.922e-05/0.1486, allocations: 105.3 kB / 0.4954 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/0.1487, allocations: 79.28 kB / 0.4955 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.1487, allocations: 150.6 kB / 0.4956 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.782e-05/0.1488, allocations: 150.6 kB / 0.4958 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.054e-05/0.1489, allocations: 150.6 kB / 0.4959 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.1492, allocations: 421.6 kB / 0.4963 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.1493, allocations: 169.1 kB / 0.4965 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.1494, allocations: 88.14 kB / 0.4965 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.1494, allocations: 75.28 kB / 0.4966 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/0.1495, allocations: 105.8 kB / 0.4967 GB, free: 11.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1495, allocations: 0 / 0.4967 GB, free: 11.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 9.221e-05/0.1496, allocations: 41.53 kB / 0.4968 GB, free: 11.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.1496, allocations: 130.7 kB / 0.4969 GB, free: 11.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1498, allocations: 163.3 kB / 0.497 GB, free: 11.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1499, allocations: 25.7 kB / 0.4971 GB, free: 11.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.1499, allocations: 112.1 kB / 0.4972 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.1499, allocations: 0 / 0.4972 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.15, allocations: 9.719 kB / 0.4972 GB, free: 11.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1501, allocations: 322.8 kB / 0.4975 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-06/0.1501, allocations: 48 / 0.4975 GB, free: 11.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-06/0.1501, allocations: 4 kB / 0.4975 GB, free: 11.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.1502, allocations: 79.28 kB / 0.4976 GB, free: 11.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.044e-05/0.1502, allocations: 75.28 kB / 0.4976 GB, free: 10.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.602e-05/0.1503, allocations: 33.66 kB / 0.4977 GB, free: 10.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.1503, allocations: 87.22 kB / 0.4978 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/0.1504, allocations: 83.16 kB / 0.4978 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.653e-05/0.1504, allocations: 158.6 kB / 0.498 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.1505, allocations: 79.22 kB / 0.4981 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.639e-05/0.1505, allocations: 158.5 kB / 0.4982 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.659e-05/0.1506, allocations: 79.22 kB / 0.4983 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.1507, allocations: 79.27 kB / 0.4984 GB, free: 10.2 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.0001783/0.1508, allocations: 272.4 kB / 0.4986 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-05/0.1509, allocations: 108.9 kB / 0.4987 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.151, allocations: 125.4 kB / 0.4988 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.01e-05/0.1511, allocations: 180.2 kB / 0.499 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-05/0.1512, allocations: 180.2 kB / 0.4992 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-05/0.1512, allocations: 184.3 kB / 0.4994 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.1515, allocations: 372.8 kB / 0.4997 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.974e-05/0.1515, allocations: 104.9 kB / 0.4998 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.1516, allocations: 101 kB / 0.4999 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.1517, allocations: 196.1 kB / 0.5001 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.534e-05/0.1518, allocations: 176.3 kB / 0.5003 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-05/0.1519, allocations: 184.2 kB / 0.5004 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.612e-05/0.152, allocations: 188.6 kB / 0.5006 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1522, allocations: 315.8 kB / 0.5009 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.1523, allocations: 112.9 kB / 0.501 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.1524, allocations: 176.3 kB / 0.5012 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.042e-05/0.1525, allocations: 112.9 kB / 0.5013 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1526, allocations: 180.3 kB / 0.5015 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.1526, allocations: 104.9 kB / 0.5016 GB, free: 6.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1527, allocations: 136.9 kB / 0.5017 GB, free: 6.586 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1527, allocations: 0 / 0.5017 GB, free: 6.586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.153, allocations: 4 kB / 0.5017 GB, free: 6.582 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.0001631/0.1532, allocations: 166.5 kB / 0.5019 GB, free: 6.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.074e-05/0.1532, allocations: 0 / 0.5019 GB, free: 6.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1532, allocations: 8 kB / 0.5019 GB, free: 6.402 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.1532, allocations: 0 / 0.5019 GB, free: 6.402 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.1538, allocations: 467.7 kB / 0.5023 GB, free: 5.941 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.1542, allocations: 252.5 kB / 0.5026 GB, free: 5.668 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.1543, allocations: 75.33 kB / 0.5026 GB, free: 5.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.411e-05/0.1543, allocations: 11.97 kB / 0.5027 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.1544, allocations: 12.44 kB / 0.5027 GB, free: 5.551 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1544, allocations: 0 / 0.5027 GB, free: 5.551 MB / 430.1 MB Notification: Performance of Templates: time 0.003546/0.1579, allocations: 0.4917 MB / 0.5031 GB, free: 5.07 MB / 430.1 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=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.346308238920756] Failed to read output from testmodel.py, exit status != 0: 0.16766413603909314 0.443083086 0.29261301900000003 Calling exit ...