Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.001495/0.001495, allocations: 83.97 kB / 19.76 MB, free: 2.023 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.485/1.485, 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.002001/0.002001, allocations: 161 kB / 256.6 MB, free: 4.297 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.04101/0.04101, allocations: 6.652 MB / 319.6 MB, free: 5.375 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.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") [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.002872/0.002872, allocations: 83.88 kB / 446.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1407, allocations: 55.57 MB / 0.4902 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.003198/0.1439, allocations: 1.29 MB / 0.4915 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 6.437e-05/0.144, allocations: 11.92 kB / 0.4915 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.144, allocations: 4 kB / 0.4915 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.1441, allocations: 0 / 0.4915 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.1442, allocations: 3.938 kB / 0.4915 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.686e-05/0.1442, allocations: 0 / 0.4915 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.673e-05/0.1442, allocations: 8 kB / 0.4915 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.164e-05/0.1443, allocations: 3.938 kB / 0.4915 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.1443, allocations: 7.984 kB / 0.4915 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.1444, allocations: 4 kB / 0.4915 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1444, allocations: 0 / 0.4915 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-06/0.1444, allocations: 0 / 0.4915 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.1444, allocations: 7.938 kB / 0.4915 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.1445, allocations: 7.984 kB / 0.4915 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 7.212e-05/0.1445, allocations: 4 kB / 0.4915 GB, free: 1.387 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1445, allocations: 0 / 0.4915 GB, free: 1.387 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1445, allocations: 0 / 0.4915 GB, free: 1.387 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1446, allocations: 3.938 kB / 0.4915 GB, free: 1.383 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004114/0.145, allocations: 246.3 kB / 0.4918 GB, free: 1.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.145, allocations: 15.98 kB / 0.4918 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.145, allocations: 8.891 kB / 0.4918 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.1452, allocations: 106.5 kB / 0.4919 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1452, allocations: 384 / 0.4919 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.1452, allocations: 4.312 kB / 0.4919 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.1453, allocations: 47.97 kB / 0.492 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1453, allocations: 192 / 0.492 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1453, allocations: 3.938 kB / 0.492 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1454, allocations: 4 kB / 0.492 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.1454, allocations: 7.938 kB / 0.492 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.1458, allocations: 419.4 kB / 0.4924 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1459, allocations: 169.1 kB / 0.4925 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.1459, allocations: 88.02 kB / 0.4926 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.097e-05/0.146, allocations: 79.28 kB / 0.4927 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.171e-05/0.1461, allocations: 105.8 kB / 0.4928 GB, free: 15.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.1461, allocations: 0 / 0.4928 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.517e-05/0.1462, allocations: 25.7 kB / 0.4928 GB, free: 15.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.752e-05/0.1463, allocations: 130.7 kB / 0.4929 GB, free: 15.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1464, allocations: 105.8 kB / 0.493 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1464, allocations: 29.7 kB / 0.4931 GB, free: 15.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.1465, allocations: 88.09 kB / 0.4932 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-06/0.1465, allocations: 0 / 0.4932 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.1465, allocations: 17.72 kB / 0.4932 GB, free: 15.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1467, allocations: 318.8 kB / 0.4935 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.1467, allocations: 3.938 kB / 0.4935 GB, free: 15.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.1467, allocations: 13.72 kB / 0.4935 GB, free: 15.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.1467, allocations: 17.72 kB / 0.4935 GB, free: 15.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1467, allocations: 0 / 0.4935 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001223/0.1469, allocations: 45.56 kB / 0.4936 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1469, allocations: 12.12 kB / 0.4936 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1469, allocations: 0 / 0.4936 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1469, allocations: 0 / 0.4936 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.309e-05/0.1469, allocations: 4 kB / 0.4936 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1469, allocations: 0 / 0.4936 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.147, allocations: 7.875 kB / 0.4936 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.147, allocations: 4 kB / 0.4936 GB, free: 15.1 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001291/0.1471, allocations: 185.1 kB / 0.4938 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.1472, allocations: 116.8 kB / 0.4939 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.408e-05/0.1473, allocations: 108.1 kB / 0.494 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.373e-05/0.1473, allocations: 176.3 kB / 0.4941 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.744e-05/0.1474, allocations: 192.2 kB / 0.4943 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.236e-05/0.1475, allocations: 180.3 kB / 0.4945 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.1478, allocations: 356.8 kB / 0.4948 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.522e-05/0.1479, allocations: 101 kB / 0.4949 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.148, allocations: 108.9 kB / 0.495 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.1481, allocations: 184.2 kB / 0.4952 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.987e-05/0.1482, allocations: 184.2 kB / 0.4954 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.152e-05/0.1483, allocations: 184.2 kB / 0.4956 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.354e-05/0.1484, allocations: 176.5 kB / 0.4957 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.1486, allocations: 304 kB / 0.496 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.1487, allocations: 124.9 kB / 0.4961 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.1488, allocations: 184.2 kB / 0.4963 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.834e-05/0.1489, allocations: 105 kB / 0.4964 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.149, allocations: 180.2 kB / 0.4966 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.149, allocations: 105 kB / 0.4967 GB, free: 11.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.008e-05/0.1491, allocations: 83.27 kB / 0.4968 GB, free: 11.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1491, allocations: 0 / 0.4968 GB, free: 11.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1493, allocations: 4 kB / 0.4968 GB, free: 11.64 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.0001494/0.1495, allocations: 170.5 kB / 0.4969 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.691e-05/0.1496, allocations: 15.94 kB / 0.497 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1496, allocations: 0 / 0.497 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.1496, allocations: 0 / 0.497 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.1501, allocations: 458 kB / 0.4974 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.1504, allocations: 164.1 kB / 0.4975 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.707e-05/0.1504, allocations: 55.36 kB / 0.4976 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.518e-05/0.1505, allocations: 3.984 kB / 0.4976 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.1505, allocations: 8.5 kB / 0.4976 GB, free: 10.73 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1505, allocations: 0 / 0.4976 GB, free: 10.73 MB / 430.1 MB Notification: Performance of Templates: time 0.002733/0.1532, allocations: 201.1 kB / 0.4978 GB, free: 10.54 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.202583075966686] Failed to read output from testmodel.py, exit status != 0: 0.1640238369582221 0.41070511000000004 0.261200343 Calling exit ...