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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) 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.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0122/0.0122, allocations: 101.6 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.239/2.239, allocations: 222.9 MB / 239.5 MB, free: 4.762 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002674/0.002675, allocations: 192.4 kB / 289.8 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0631/0.0631, allocations: 8.794 MB / 348.7 MB, free: 4.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003009/0.003009, allocations: 79.03 kB / 411 MB, free: 42.39 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1393, allocations: 51.57 MB / 462.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.004303/0.1436, allocations: 1.236 MB / 463.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 6.714e-05/0.1437, allocations: 11.97 kB / 463.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.1438, allocations: 7.938 kB / 463.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.1438, allocations: 0 / 463.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.496e-05/0.1439, allocations: 3.938 kB / 463.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.438e-05/0.144, allocations: 0 / 463.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.1441, allocations: 8 kB / 463.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.47e-05/0.1442, allocations: 4 kB / 463.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.1442, allocations: 7.922 kB / 463.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.1443, allocations: 4 kB / 463.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1443, allocations: 0 / 463.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.1443, allocations: 0 / 463.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.1444, allocations: 4 kB / 463.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.1444, allocations: 11.86 kB / 463.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.123e-05/0.1445, allocations: 8 kB / 463.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.1445, allocations: 0 / 463.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1445, allocations: 0 / 463.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.1446, allocations: 0 / 463.9 MB, free: 13.57 MB / 302.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.0005658/0.1451, allocations: 323.5 kB / 464.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.1452, allocations: 8.031 kB / 464.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.1453, allocations: 4.938 kB / 464.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1455, allocations: 172.4 kB / 464.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1455, allocations: 384 / 464.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.1455, allocations: 384 / 464.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1457, allocations: 43.98 kB / 464.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1457, allocations: 192 / 464.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.1458, allocations: 3.938 kB / 464.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1458, allocations: 4 kB / 464.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.1458, allocations: 3.938 kB / 464.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.1466, allocations: 190.8 kB / 464.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/0.1467, allocations: 41.11 kB / 464.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.1468, allocations: 21.84 kB / 464.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1468, allocations: 0 / 464.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.1469, allocations: 34.56 kB / 464.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.1469, allocations: 0 / 464.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002485/0.1471, allocations: 49.56 kB / 464.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.1472, allocations: 77.11 kB / 464.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1473, allocations: 98.11 kB / 465 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1474, allocations: 25.7 kB / 465 MB, free: 12.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.1475, allocations: 84.14 kB / 465.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.1475, allocations: 11.84 kB / 465.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.1476, allocations: 9.719 kB / 465.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1477, allocations: 318.8 kB / 465.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.1478, allocations: 8 kB / 465.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.198e-05/0.1478, allocations: 21.78 kB / 465.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.318e-05/0.1479, allocations: 21.66 kB / 465.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1479, allocations: 0 / 465.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001159/0.148, allocations: 41.64 kB / 465.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.1481, allocations: 11.98 kB / 465.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1481, allocations: 3.938 kB / 465.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1481, allocations: 0 / 465.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.1484, allocations: 28.11 kB / 465.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/0.1512, allocations: 2.537 MB / 468.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.1513, allocations: 8.25 kB / 468.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1513, allocations: 0 / 468.1 MB, free: 8.875 MB / 302.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 0.0001364/0.1515, allocations: 117.8 kB / 468.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.1515, allocations: 3.938 kB / 468.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.1515, allocations: 11.06 kB / 468.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1515, allocations: 4 kB / 468.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.1515, allocations: 0 / 468.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1516, allocations: 0 / 468.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.1521, allocations: 189.6 kB / 468.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1521, allocations: 0 / 468.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.1524, allocations: 27.98 kB / 468.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1525, allocations: 0 / 468.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1525, allocations: 0 / 468.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.1551, allocations: 2.541 MB / 471 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.525e-06/0.1551, allocations: 7.969 kB / 471 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.1553, allocations: 74.09 kB / 471.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.1554, allocations: 81.05 kB / 471.1 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1554, allocations: 7.984 kB / 471.1 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.1554, allocations: 0 / 471.1 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.1555, allocations: 0 / 471.1 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.1555, allocations: 4 kB / 471.2 MB, free: 5.457 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.787e-05/0.1556, allocations: 75.28 kB / 471.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1556, allocations: 0 / 471.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004319/0.156, allocations: 12.12 kB / 471.2 MB, free: 5.371 MB / 302.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.0001716/0.1562, allocations: 91.25 kB / 471.3 MB, free: 5.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004146/0.1566, allocations: 35.86 kB / 471.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1567, allocations: 0 / 471.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.1569, allocations: 28.17 kB / 471.4 MB, free: 5.207 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1572, allocations: 7.938 kB / 471.4 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.1578, allocations: 130.8 kB / 471.5 MB, free: 5.035 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.1583, allocations: 0.6731 MB / 472.2 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.1583, allocations: 15.31 kB / 472.2 MB, free: 4.32 MB / 302.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1584, allocations: 4 kB / 472.2 MB, free: 4.316 MB / 302.1 MB Notification: Performance of Templates: time 0.003858/0.1622, allocations: 0.757 MB / 473 MB, free: 3.559 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile (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)