Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.001374/0.001374, allocations: 79.03 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.407/1.407, allocations: 177.2 MB / 200.1 MB, free: 8.32 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.001826/0.001826, allocations: 169.6 kB / 256.6 MB, free: 4.27 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.0397/0.0397, allocations: 6.66 MB / 319.6 MB, free: 5.348 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.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") [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.00262/0.00262, allocations: 79.88 kB / 446.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.141, allocations: 55.59 MB / 0.4902 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002491/0.1435, allocations: 1.255 MB / 0.4915 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.1455, allocations: 1.143 MB / 0.4926 GB, free: 312 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.1455, allocations: 4 kB / 0.4926 GB, free: 308 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.1459, allocations: 75.69 kB / 0.4926 GB, free: 232 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.147, allocations: 406.6 kB / 0.493 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.907e-06/0.147, allocations: 0 / 0.493 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.1488, allocations: 1.045 MB / 0.4941 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.1489, allocations: 8 kB / 0.4941 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.816e-05/0.1489, allocations: 7.938 kB / 0.4941 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.1489, allocations: 15.91 kB / 0.4941 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1489, allocations: 4 kB / 0.4941 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1491, allocations: 43.98 kB / 0.4941 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.131e-05/0.1492, allocations: 19.91 kB / 0.4941 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.1492, allocations: 19.86 kB / 0.4942 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.1494, allocations: 83.56 kB / 0.4942 GB, free: 14.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1494, allocations: 0 / 0.4942 GB, free: 14.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1494, allocations: 0 / 0.4942 GB, free: 14.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1494, allocations: 0 / 0.4942 GB, free: 14.58 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.0004769/0.1499, allocations: 317.8 kB / 0.4946 GB, free: 14.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.15, allocations: 11.98 kB / 0.4946 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003814/0.1503, allocations: 104.1 kB / 0.4947 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/0.1509, allocations: 338 kB / 0.495 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.372e-05/0.151, allocations: 158.9 kB / 0.4951 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.1511, allocations: 150.9 kB / 0.4953 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.94e-05/0.1512, allocations: 105.3 kB / 0.4954 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/0.1512, allocations: 79.28 kB / 0.4955 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.1513, allocations: 150.6 kB / 0.4956 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.299e-05/0.1514, allocations: 154.6 kB / 0.4957 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.762e-05/0.1514, allocations: 158.4 kB / 0.4959 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.1518, allocations: 421.6 kB / 0.4963 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1519, allocations: 165.1 kB / 0.4965 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.1519, allocations: 80.14 kB / 0.4965 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.152, allocations: 75.28 kB / 0.4966 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.152, allocations: 109.8 kB / 0.4967 GB, free: 11.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.152, allocations: 0 / 0.4967 GB, free: 11.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 9.007e-05/0.1521, allocations: 45.53 kB / 0.4968 GB, free: 11.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.1522, allocations: 126.7 kB / 0.4969 GB, free: 11.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.1524, allocations: 167.3 kB / 0.497 GB, free: 11.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1524, allocations: 25.7 kB / 0.4971 GB, free: 11.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.1525, allocations: 104.1 kB / 0.4972 GB, free: 11.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.1525, allocations: 0 / 0.4972 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.1525, allocations: 9.719 kB / 0.4972 GB, free: 11.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1527, allocations: 318.8 kB / 0.4975 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-06/0.1527, allocations: 0 / 0.4975 GB, free: 11.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-06/0.1527, allocations: 0 / 0.4975 GB, free: 11.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.1527, allocations: 79.27 kB / 0.4975 GB, free: 11.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.299e-05/0.1527, allocations: 83.28 kB / 0.4976 GB, free: 10.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.891e-05/0.1528, allocations: 45.64 kB / 0.4977 GB, free: 10.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.1529, allocations: 79.28 kB / 0.4977 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/0.1529, allocations: 79.22 kB / 0.4978 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.069e-05/0.153, allocations: 158.5 kB / 0.498 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.269e-05/0.153, allocations: 79.22 kB / 0.498 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.45e-05/0.1531, allocations: 154.5 kB / 0.4982 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.1532, allocations: 83.22 kB / 0.4983 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.1532, allocations: 83.2 kB / 0.4984 GB, free: 10.18 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.0001685/0.1534, allocations: 272.4 kB / 0.4986 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.1534, allocations: 116.9 kB / 0.4987 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.1535, allocations: 117.4 kB / 0.4988 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-05/0.1536, allocations: 184.2 kB / 0.499 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-05/0.1537, allocations: 180.2 kB / 0.4992 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.529e-05/0.1538, allocations: 176.3 kB / 0.4994 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.154, allocations: 384.8 kB / 0.4997 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-05/0.1541, allocations: 101 kB / 0.4998 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.1541, allocations: 101 kB / 0.4999 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.443e-05/0.1542, allocations: 180.2 kB / 0.5001 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.867e-05/0.1543, allocations: 184.3 kB / 0.5003 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.239e-05/0.1544, allocations: 184.1 kB / 0.5004 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.609e-05/0.1545, allocations: 184.2 kB / 0.5006 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.1547, allocations: 312.1 kB / 0.5009 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.1548, allocations: 113 kB / 0.501 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.1549, allocations: 196.1 kB / 0.5012 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.65e-05/0.155, allocations: 108.9 kB / 0.5013 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.1551, allocations: 176.3 kB / 0.5015 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.1551, allocations: 108.9 kB / 0.5016 GB, free: 6.691 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1552, allocations: 128.9 kB / 0.5017 GB, free: 6.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1552, allocations: 4 kB / 0.5017 GB, free: 6.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1555, allocations: 0 / 0.5017 GB, free: 6.562 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.0001596/0.1556, allocations: 174.5 kB / 0.5019 GB, free: 6.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.76e-05/0.1557, allocations: 0 / 0.5019 GB, free: 6.383 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1557, allocations: 0 / 0.5019 GB, free: 6.383 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.1557, allocations: 0 / 0.5019 GB, free: 6.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.1562, allocations: 471.6 kB / 0.5023 GB, free: 5.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.1566, allocations: 244.6 kB / 0.5026 GB, free: 5.652 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.607e-05/0.1567, allocations: 83.31 kB / 0.5026 GB, free: 5.551 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.778e-05/0.1567, allocations: 7.984 kB / 0.5026 GB, free: 5.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.1568, allocations: 12.5 kB / 0.5027 GB, free: 5.531 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1568, allocations: 0 / 0.5027 GB, free: 5.531 MB / 430.1 MB Notification: Performance of Templates: time 0.003355/0.1601, allocations: 496 kB / 0.5031 GB, free: 5.059 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & ./HanserModelica_HanserModelica.Machines.TestSingleLayer12over12 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.189297700067982] Failed to read output from testmodel.py, exit status != 0: 0.1701894390862435 0.38554790399999994 0.23329124699999995 Calling exit ...