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.001133/0.001134, allocations: 106.6 kB / 15.99 MB, free: 6.348 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.424/1.424, allocations: 222.9 MB / 239.6 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.001261/0.001261, allocations: 192.5 kB / 289.9 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04819/0.04819, allocations: 8.793 MB / 348.9 MB, free: 4.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 74.56 kB / 411.2 MB, free: 42.38 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09116/0.09267, allocations: 51.56 MB / 462.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002325/0.09503, allocations: 1.243 MB / 464 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 5.117e-05/0.0951, allocations: 7.922 kB / 464.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.09513, allocations: 0 / 464.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.09516, allocations: 0 / 464.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.301e-05/0.09521, allocations: 4 kB / 464.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.198e-05/0.09526, allocations: 0 / 464.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.09533, allocations: 11.92 kB / 464.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.173e-05/0.09539, allocations: 4 kB / 464.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.929e-05/0.09542, allocations: 8 kB / 464.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.09547, allocations: 3.938 kB / 464.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.09549, allocations: 4 kB / 464.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.0955, allocations: 0 / 464.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.09552, allocations: 0 / 464.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.09554, allocations: 0 / 464.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.068e-05/0.0956, allocations: 11.98 kB / 464.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09561, allocations: 3.938 kB / 464.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.09562, allocations: 0 / 464.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.09563, allocations: 0 / 464.1 MB, free: 13.5 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.0003804/0.09601, allocations: 329.7 kB / 464.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.09605, allocations: 8.031 kB / 464.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.09609, allocations: 0.9375 kB / 464.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.0962, allocations: 164.4 kB / 464.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.09622, allocations: 384 / 464.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.09625, allocations: 4.312 kB / 464.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.636e-05/0.09635, allocations: 43.97 kB / 464.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.09637, allocations: 8.188 kB / 464.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.09638, allocations: 3.938 kB / 464.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.09639, allocations: 0 / 464.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.09642, allocations: 8 kB / 464.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.09688, allocations: 194.8 kB / 464.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.911e-05/0.09696, allocations: 37.19 kB / 464.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.09699, allocations: 21.78 kB / 464.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.09701, allocations: 0 / 464.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.09704, allocations: 38.48 kB / 464.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.09704, allocations: 0 / 464.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001331/0.09718, allocations: 57.56 kB / 465 MB, free: 12.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.09725, allocations: 77.11 kB / 465.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.915e-05/0.09732, allocations: 93.86 kB / 465.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.09734, allocations: 25.7 kB / 465.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.09738, allocations: 84.12 kB / 465.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.09742, allocations: 11.84 kB / 465.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.09746, allocations: 14.09 kB / 465.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.09757, allocations: 314.8 kB / 465.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.09759, allocations: 4 kB / 465.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.09761, allocations: 13.72 kB / 465.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.09765, allocations: 21.66 kB / 465.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.09766, allocations: 0 / 465.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.272e-05/0.09772, allocations: 45.75 kB / 465.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.09774, allocations: 4 kB / 465.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.09776, allocations: 7.938 kB / 465.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.09778, allocations: 0 / 465.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.09798, allocations: 27.92 kB / 465.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.09963, allocations: 2.723 MB / 468.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.09967, allocations: 4.062 kB / 468.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.09968, allocations: 4.031 kB / 468.5 MB, free: 8.605 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 8.165e-05/0.09977, allocations: 109.8 kB / 468.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.09978, allocations: 3.938 kB / 468.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.627e-05/0.09981, allocations: 19.08 kB / 468.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.09981, allocations: 3.984 kB / 468.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.09982, allocations: 0 / 468.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.09983, allocations: 0 / 468.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.1002, allocations: 181.7 kB / 468.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1002, allocations: 4 kB / 468.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.1004, allocations: 23.98 kB / 468.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1004, allocations: 3.938 kB / 468.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1004, allocations: 7.922 kB / 468.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.1019, allocations: 2.719 MB / 471.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.102, allocations: 32 / 471.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.994e-05/0.102, allocations: 69.94 kB / 471.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.1021, allocations: 85.03 kB / 471.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-06/0.1021, allocations: 4.094 kB / 471.7 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.172e-05/0.1021, allocations: 4 kB / 471.7 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.1022, allocations: 4 kB / 471.7 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1022, allocations: 7.938 kB / 471.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.239e-05/0.1022, allocations: 79.28 kB / 471.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1022, allocations: 0 / 471.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000211/0.1024, allocations: 4 kB / 471.8 MB, free: 4.91 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 9.528e-05/0.1025, allocations: 99.33 kB / 471.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.1028, allocations: 31.92 kB / 471.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.1028, allocations: 4 kB / 471.9 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.103, allocations: 19.98 kB / 471.9 MB, free: 4.746 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.1032, allocations: 256 / 471.9 MB, free: 4.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.1035, allocations: 143.8 kB / 472.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.1038, allocations: 0.6767 MB / 472.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.054e-05/0.1038, allocations: 7.438 kB / 472.8 MB, free: 3.859 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1038, allocations: 0 / 472.8 MB, free: 3.859 MB / 302.1 MB Notification: Performance of Templates: time 0.002134/0.1059, allocations: 0.7764 MB / 473.5 MB, free: 3.082 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)