Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 246.2 MB, free: 13.59 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 189.6 kB / 301.4 MB, free: 9.102 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04146/0.04146, allocations: 8.929 MB / 365.5 MB, free: 9.227 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003398/0.003398, allocations: 86.44 kB / 489.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1643, allocations: 54.41 MB / 0.531 GB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.002133/0.1664, allocations: 0.528 MB / 0.5315 GB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1683, allocations: 1.124 MB / 0.5326 GB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.1683, allocations: 4 kB / 0.5326 GB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.1685, allocations: 3.984 kB / 0.5326 GB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.1687, allocations: 27.86 kB / 0.5327 GB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.104e-05/0.1687, allocations: 11.97 kB / 0.5327 GB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.1688, allocations: 35.84 kB / 0.5327 GB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.34e-05/0.1689, allocations: 12 kB / 0.5327 GB, free: 12.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.169, allocations: 23.8 kB / 0.5328 GB, free: 12.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.1692, allocations: 43.88 kB / 0.5328 GB, free: 12.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.1692, allocations: 0 / 0.5328 GB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.905e-05/0.1692, allocations: 4 kB / 0.5328 GB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.1693, allocations: 43.89 kB / 0.5328 GB, free: 12.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.1694, allocations: 31.67 kB / 0.5329 GB, free: 12.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.1695, allocations: 47.7 kB / 0.5329 GB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1696, allocations: 0 / 0.5329 GB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1696, allocations: 0 / 0.5329 GB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.1696, allocations: 0 / 0.5329 GB, free: 12.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007145/0.1703, allocations: 414.9 kB / 0.5333 GB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1703, allocations: 8.031 kB / 0.5333 GB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.1704, allocations: 12.89 kB / 0.5333 GB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.1706, allocations: 228.1 kB / 0.5335 GB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1706, allocations: 384 / 0.5335 GB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1706, allocations: 4.375 kB / 0.5336 GB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1708, allocations: 38 kB / 0.5336 GB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1708, allocations: 0 / 0.5336 GB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1708, allocations: 4 kB / 0.5336 GB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1708, allocations: 0 / 0.5336 GB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.1708, allocations: 15.92 kB / 0.5336 GB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.1711, allocations: 193.7 kB / 0.5338 GB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.427e-05/0.1712, allocations: 26.58 kB / 0.5338 GB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.1712, allocations: 12.94 kB / 0.5338 GB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1712, allocations: 7.938 kB / 0.5338 GB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.1713, allocations: 38.5 kB / 0.5339 GB, free: 11.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1713, allocations: 0 / 0.5339 GB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002021/0.1715, allocations: 69.52 kB / 0.5339 GB, free: 11.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1715, allocations: 55.41 kB / 0.534 GB, free: 11.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1718, allocations: 210.3 kB / 0.5342 GB, free: 11.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1718, allocations: 25.7 kB / 0.5342 GB, free: 11.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.1719, allocations: 108.1 kB / 0.5343 GB, free: 11.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.1719, allocations: 11.89 kB / 0.5343 GB, free: 11.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.172, allocations: 13.72 kB / 0.5343 GB, free: 11.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.1722, allocations: 322.8 kB / 0.5347 GB, free: 10.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.1722, allocations: 8 kB / 0.5347 GB, free: 10.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.49e-05/0.1722, allocations: 11.98 kB / 0.5347 GB, free: 10.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.94e-05/0.1723, allocations: 24.84 kB / 0.5347 GB, free: 10.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1723, allocations: 0 / 0.5347 GB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001015/0.1724, allocations: 61.53 kB / 0.5348 GB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1724, allocations: 7.938 kB / 0.5348 GB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1724, allocations: 336 / 0.5348 GB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1724, allocations: 11.94 kB / 0.5348 GB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.1725, allocations: 8 kB / 0.5348 GB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.1725, allocations: 0 / 0.5348 GB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.1726, allocations: 7.984 kB / 0.5348 GB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1726, allocations: 4 kB / 0.5348 GB, free: 10.62 MB / 350.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 (3): * Single equations (assignments): 3 * 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.0001129/0.1727, allocations: 126.8 kB / 0.5349 GB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1727, allocations: 15.88 kB / 0.5349 GB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.1729, allocations: 70.55 kB / 0.535 GB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1729, allocations: 0 / 0.535 GB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1729, allocations: 0 / 0.535 GB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1729, allocations: 0 / 0.535 GB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1731, allocations: 181.6 kB / 0.5352 GB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1731, allocations: 0 / 0.5352 GB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.1731, allocations: 11.98 kB / 0.5352 GB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.1731, allocations: 3.938 kB / 0.5352 GB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1731, allocations: 4 kB / 0.5352 GB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1731, allocations: 0 / 0.5352 GB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1731, allocations: 0 / 0.5352 GB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.1732, allocations: 84.97 kB / 0.5353 GB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/0.1733, allocations: 96.98 kB / 0.5354 GB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.1733, allocations: 3.938 kB / 0.5354 GB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.724e-05/0.1734, allocations: 8 kB / 0.5354 GB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.1734, allocations: 3.984 kB / 0.5354 GB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.1734, allocations: 0 / 0.5354 GB, free: 9.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.1736, allocations: 163.2 kB / 0.5355 GB, free: 9.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1736, allocations: 0 / 0.5355 GB, free: 9.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.1739, allocations: 12 kB / 0.5355 GB, free: 9.742 MB / 350.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 (3): * Single equations (assignments): 3 * 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.0001291/0.174, allocations: 93.25 kB / 0.5356 GB, free: 9.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1742, allocations: 23.98 kB / 0.5357 GB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1742, allocations: 4 kB / 0.5357 GB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.1742, allocations: 15.92 kB / 0.5357 GB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.1744, allocations: 4 kB / 0.5357 GB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.1748, allocations: 193.2 kB / 0.5359 GB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.1752, allocations: 0.7098 MB / 0.5366 GB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.1752, allocations: 20.25 kB / 0.5366 GB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.1752, allocations: 15.44 kB / 0.5366 GB, free: 8.609 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1753, allocations: 4 kB / 0.5366 GB, free: 8.605 MB / 350.1 MB Notification: Performance of Templates: time 0.003384/0.1786, allocations: 0.6028 MB / 0.5372 GB, free: 8.004 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9704413721337914]