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.001044/0.001044, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 238.9 MB, free: 5.484 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.00189/0.00189, allocations: 181 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03273/0.03273, allocations: 8.803 MB / 350.1 MB, free: 4.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 9.719 kB / 413.1 MB, free: 43.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.09232, allocations: 52.56 MB / 465.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001178/0.09354, allocations: 0.8964 MB / 466.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 4.24e-05/0.0936, allocations: 11.92 kB / 466.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.09363, allocations: 7.938 kB / 466.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.09365, allocations: 0 / 466.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.313e-05/0.0937, allocations: 0 / 466.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.757e-05/0.09376, allocations: 3.984 kB / 466.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.757e-05/0.09381, allocations: 7.984 kB / 466.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.09387, allocations: 4 kB / 466.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.09389, allocations: 4 kB / 466.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.09394, allocations: 3.938 kB / 466.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.09396, allocations: 0 / 466.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-06/0.09397, allocations: 0 / 466.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.09399, allocations: 7.984 kB / 466.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.09402, allocations: 29.7 kB / 466.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 2.966e-05/0.09406, allocations: 4 kB / 466.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.09406, allocations: 0 / 466.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09407, allocations: 0 / 466.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.09408, allocations: 0 / 466.6 MB, free: 12.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.000336/0.09442, allocations: 319.7 kB / 466.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.09446, allocations: 8.031 kB / 466.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.0945, allocations: 7.859 kB / 467 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.09462, allocations: 171 kB / 467.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.09465, allocations: 0 / 467.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.09466, allocations: 0 / 467.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.09477, allocations: 55.34 kB / 467.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.09478, allocations: 0 / 467.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.09479, allocations: 0 / 467.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.0948, allocations: 3.984 kB / 467.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.09483, allocations: 7.953 kB / 467.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.09529, allocations: 190.5 kB / 467.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.159e-05/0.09535, allocations: 41.12 kB / 467.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.09536, allocations: 0 / 467.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.09539, allocations: 34.69 kB / 467.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.0954, allocations: 0 / 467.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000128/0.09553, allocations: 49.84 kB / 467.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.09558, allocations: 77.11 kB / 467.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.09565, allocations: 93.86 kB / 467.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.09567, allocations: 25.7 kB / 467.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.0957, allocations: 84.14 kB / 467.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.09573, allocations: 7.906 kB / 467.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.09574, allocations: 0 / 467.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.09585, allocations: 318.8 kB / 468.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.09587, allocations: 8.094 kB / 468.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/0.09589, allocations: 17.72 kB / 468.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.621e-05/0.09591, allocations: 7.938 kB / 468.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.09592, allocations: 0 / 468.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.487e-05/0.09598, allocations: 41.62 kB / 468.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.09599, allocations: 4 kB / 468.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.096, allocations: 128 / 468.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.09602, allocations: 8 kB / 468.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.09621, allocations: 27.98 kB / 468.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.0977, allocations: 2.546 MB / 470.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.09774, allocations: 0 / 470.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.09776, allocations: 4.031 kB / 470.8 MB, free: 7.938 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.639e-05/0.09786, allocations: 113.8 kB / 470.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.09787, allocations: 0 / 470.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.711e-05/0.09789, allocations: 15.08 kB / 470.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.0979, allocations: 3.938 kB / 470.9 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.09791, allocations: 0 / 470.9 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.09792, allocations: 7.938 kB / 470.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.09827, allocations: 185.7 kB / 471.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.09829, allocations: 4 kB / 471.1 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.09847, allocations: 23.98 kB / 471.1 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.09848, allocations: 0 / 471.1 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.09849, allocations: 0 / 471.1 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.09994, allocations: 2.542 MB / 473.6 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.09996, allocations: 7.984 kB / 473.6 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.543e-05/0.1, allocations: 83.88 kB / 473.7 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.1001, allocations: 81.09 kB / 473.8 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-06/0.1001, allocations: 0 / 473.8 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.1001, allocations: 7.953 kB / 473.8 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.1001, allocations: 0 / 473.8 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.1002, allocations: 0 / 473.8 MB, free: 4.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.071e-05/0.1002, allocations: 87.25 kB / 473.9 MB, free: 4.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1002, allocations: 0 / 473.9 MB, free: 4.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001966/0.1004, allocations: 4 kB / 473.9 MB, free: 4.418 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.056e-05/0.1005, allocations: 99.23 kB / 474 MB, free: 4.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.101, allocations: 32.14 kB / 474 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.101, allocations: 0 / 474 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.1013, allocations: 43.91 kB / 474.1 MB, free: 4.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.1014, allocations: 0 / 474.1 MB, free: 4.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.1018, allocations: 117.7 kB / 474.2 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1022, allocations: 0.6887 MB / 474.9 MB, free: 3.375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.1023, allocations: 20 kB / 474.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.1023, allocations: 23.41 kB / 474.9 MB, free: 3.332 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1024, allocations: 3.938 kB / 474.9 MB, free: 3.328 MB / 302.1 MB Notification: Performance of Templates: time 0.002484/0.1048, allocations: 0.7964 MB / 475.7 MB, free: 2.531 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: