Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.002343/0.002343, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.529/1.529, allocations: 230.6 MB / 252.6 MB, free: 8.309 MB / 206.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.002594/0.002594, allocations: 221.7 kB / 309.2 MB, free: 3.156 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.04369/0.04369, allocations: 8.915 MB / 374.6 MB, free: 1.918 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.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") [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.002598/0.002598, allocations: 82.2 kB / 0.4897 GB, free: 4.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1393, allocations: 55.61 MB / 0.544 GB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002675/0.1419, allocations: 1.2 MB / 0.5451 GB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 7.003e-05/0.142, allocations: 11.94 kB / 0.5452 GB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.1421, allocations: 0 / 0.5452 GB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.1421, allocations: 0 / 0.5452 GB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.016e-05/0.1421, allocations: 3.984 kB / 0.5452 GB, free: 3.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.906e-05/0.1422, allocations: 0 / 0.5452 GB, free: 3.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.6e-05/0.1423, allocations: 11.92 kB / 0.5452 GB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.1424, allocations: 8 kB / 0.5452 GB, free: 3.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.1424, allocations: 0 / 0.5452 GB, free: 3.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.1425, allocations: 11.92 kB / 0.5452 GB, free: 3.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1425, allocations: 0 / 0.5452 GB, free: 3.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.1425, allocations: 0 / 0.5452 GB, free: 3.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.1425, allocations: 0 / 0.5452 GB, free: 3.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.1426, allocations: 11.94 kB / 0.5452 GB, free: 3.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.131e-05/0.1426, allocations: 0 / 0.5452 GB, free: 3.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.1426, allocations: 4 kB / 0.5452 GB, free: 3.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1426, allocations: 0 / 0.5452 GB, free: 3.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1426, allocations: 3.938 kB / 0.5452 GB, free: 3.305 MB / 350.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.0004553/0.1431, allocations: 246.4 kB / 0.5454 GB, free: 3.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1431, allocations: 8.031 kB / 0.5455 GB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.1432, allocations: 0.9375 kB / 0.5455 GB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1433, allocations: 110.5 kB / 0.5456 GB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1433, allocations: 4.375 kB / 0.5456 GB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.1433, allocations: 384 / 0.5456 GB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.1434, allocations: 43.97 kB / 0.5456 GB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1435, allocations: 4.188 kB / 0.5456 GB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1435, allocations: 3.938 kB / 0.5456 GB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1435, allocations: 0 / 0.5456 GB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.1435, allocations: 7.938 kB / 0.5456 GB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.144, allocations: 157.6 kB / 0.5458 GB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.202e-05/0.1441, allocations: 44.38 kB / 0.5458 GB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.1441, allocations: 25.77 kB / 0.5458 GB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.1441, allocations: 0 / 0.5458 GB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.1442, allocations: 38.56 kB / 0.5459 GB, free: 2.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1442, allocations: 0 / 0.5459 GB, free: 2.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.1443, allocations: 49.58 kB / 0.5459 GB, free: 2.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.1444, allocations: 81.11 kB / 0.546 GB, free: 2.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.1445, allocations: 105.7 kB / 0.5461 GB, free: 2.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1445, allocations: 25.7 kB / 0.5461 GB, free: 2.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.1445, allocations: 80.14 kB / 0.5462 GB, free: 2.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1446, allocations: 11.88 kB / 0.5462 GB, free: 2.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.1446, allocations: 18.09 kB / 0.5462 GB, free: 2.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1448, allocations: 314.8 kB / 0.5465 GB, free: 1.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.1448, allocations: 4 kB / 0.5465 GB, free: 1.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.746e-05/0.1448, allocations: 13.7 kB / 0.5465 GB, free: 1.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.1448, allocations: 25.66 kB / 0.5466 GB, free: 1.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1448, allocations: 0 / 0.5466 GB, free: 1.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.632e-05/0.1449, allocations: 45.7 kB / 0.5466 GB, free: 1.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1449, allocations: 4 kB / 0.5466 GB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1449, allocations: 3.938 kB / 0.5466 GB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1449, allocations: 4 kB / 0.5466 GB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.1451, allocations: 27.97 kB / 0.5467 GB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.147, allocations: 2.512 MB / 0.5491 GB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.147, allocations: 4.031 kB / 0.5491 GB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.147, allocations: 160 / 0.5491 GB, free: 14.87 MB / 366.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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.36e-05/0.1471, allocations: 109.8 kB / 0.5492 GB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.1472, allocations: 11.88 kB / 0.5492 GB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.411e-05/0.1472, allocations: 11.14 kB / 0.5492 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1472, allocations: 0 / 0.5492 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.1472, allocations: 0 / 0.5492 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1472, allocations: 4 kB / 0.5492 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1475, allocations: 156.7 kB / 0.5494 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1475, allocations: 0 / 0.5494 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.1477, allocations: 23.98 kB / 0.5494 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.1477, allocations: 7.938 kB / 0.5494 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1477, allocations: 0 / 0.5494 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.1496, allocations: 2.512 MB / 0.5519 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1496, allocations: 4.031 kB / 0.5519 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.583e-05/0.1497, allocations: 70.09 kB / 0.5519 GB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.1497, allocations: 7.922 kB / 0.5519 GB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.1497, allocations: 8 kB / 0.552 GB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.108e-05/0.1498, allocations: 0 / 0.552 GB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.1498, allocations: 0 / 0.552 GB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.1498, allocations: 3.938 kB / 0.552 GB, free: 11.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.353e-05/0.1498, allocations: 83.31 kB / 0.552 GB, free: 11.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1498, allocations: 0 / 0.552 GB, free: 11.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.15, allocations: 4 kB / 0.552 GB, free: 11.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.1502, allocations: 96.86 kB / 0.5521 GB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005139/0.1507, allocations: 44.06 kB / 0.5522 GB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1507, allocations: 3.938 kB / 0.5522 GB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.151, allocations: 27.98 kB / 0.5522 GB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.1512, allocations: 0 / 0.5522 GB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.1515, allocations: 130.6 kB / 0.5523 GB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1519, allocations: 0.6768 MB / 0.553 GB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.002e-05/0.1519, allocations: 23.98 kB / 0.553 GB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.152, allocations: 19.41 kB / 0.553 GB, free: 10.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.152, allocations: 0 / 0.553 GB, free: 10.48 MB / 366.1 MB Notification: Performance of Templates: time 0.003359/0.1554, allocations: 0.8792 MB / 0.5539 GB, free: 9.605 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & ./HanserModelica_HanserModelica.VariablesTypes.Attributes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.113873686175793] Failed to read output from testmodel.py, exit status != 0: 0.163771121064201 0.17949811399999996 0.033804655 Calling exit ...