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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03726/0.03726, allocations: 8.794 MB / 25.53 MB, free: 3.738 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 251.3 MB, free: 7.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009474/0.0009475, allocations: 111.9 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 71.89 kB / 366 MB, free: 184 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1962, allocations: 51.54 MB / 417.5 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.00197/0.1982, allocations: 1.247 MB / 418.8 MB, free: 19.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 3.958e-05/0.1983, allocations: 11.92 kB / 418.8 MB, free: 19.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.1983, allocations: 1.594 kB / 418.8 MB, free: 19.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.1983, allocations: 0 / 418.8 MB, free: 19.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.861e-05/0.1984, allocations: 0 / 418.8 MB, free: 19.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.269e-05/0.1984, allocations: 7.984 kB / 418.8 MB, free: 19.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.098e-05/0.1985, allocations: 11.94 kB / 418.8 MB, free: 19.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.1985, allocations: 0 / 418.8 MB, free: 19.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.548e-05/0.1985, allocations: 4 kB / 418.8 MB, free: 19.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.1986, allocations: 3.938 kB / 418.8 MB, free: 19.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1986, allocations: 0 / 418.8 MB, free: 19.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.341e-06/0.1986, allocations: 4 kB / 418.8 MB, free: 19.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.1986, allocations: 0 / 418.8 MB, free: 19.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.1986, allocations: 7.984 kB / 418.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.628e-05/0.1987, allocations: 7.938 kB / 418.8 MB, free: 19.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1987, allocations: 4 kB / 418.8 MB, free: 19.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1987, allocations: 7.938 kB / 418.8 MB, free: 19.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.1987, allocations: 0 / 418.8 MB, free: 19.6 MB / 298.7 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.0002731/0.199, allocations: 317.7 kB / 419.2 MB, free: 19.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/0.1991, allocations: 8.031 kB / 419.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.1991, allocations: 4.844 kB / 419.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.718e-05/0.1992, allocations: 168.4 kB / 419.3 MB, free: 19.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1992, allocations: 384 / 419.3 MB, free: 19.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.1992, allocations: 384 / 419.3 MB, free: 19.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.964e-05/0.1993, allocations: 55.91 kB / 419.4 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1993, allocations: 192 / 419.4 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.1993, allocations: 3.938 kB / 419.4 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1993, allocations: 0 / 419.4 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.1993, allocations: 4 kB / 419.4 MB, free: 18.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.1997, allocations: 190.5 kB / 419.6 MB, free: 18.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.1998, allocations: 41.12 kB / 419.6 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.1998, allocations: 13.84 kB / 419.6 MB, free: 18.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.1998, allocations: 0 / 419.6 MB, free: 18.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.1998, allocations: 38.55 kB / 419.7 MB, free: 18.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1998, allocations: 3.938 kB / 419.7 MB, free: 18.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001029/0.1999, allocations: 45.64 kB / 419.7 MB, free: 18.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.2, allocations: 81.05 kB / 419.8 MB, free: 18.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.393e-05/0.2, allocations: 101.8 kB / 419.9 MB, free: 18.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.2, allocations: 25.7 kB / 419.9 MB, free: 18.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.215e-05/0.2, allocations: 80.52 kB / 420 MB, free: 18.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.2001, allocations: 7.906 kB / 420 MB, free: 18.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.2001, allocations: 13.72 kB / 420 MB, free: 18.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.764e-05/0.2001, allocations: 314.8 kB / 420.3 MB, free: 17.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.2001, allocations: 4 kB / 420.3 MB, free: 17.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-06/0.2002, allocations: 13.66 kB / 420.4 MB, free: 17.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.2002, allocations: 29.77 kB / 420.4 MB, free: 17.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2002, allocations: 0 / 420.4 MB, free: 17.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.462e-05/0.2002, allocations: 41.64 kB / 420.4 MB, free: 17.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.2003, allocations: 4 kB / 420.4 MB, free: 17.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2003, allocations: 7.938 kB / 420.4 MB, free: 17.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2003, allocations: 0 / 420.4 MB, free: 17.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.2005, allocations: 31.97 kB / 420.5 MB, free: 17.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008488/0.2013, allocations: 2.537 MB / 423 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.2013, allocations: 3.938 kB / 423 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.2014, allocations: 0 / 423 MB, free: 14.92 MB / 298.7 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 4.873e-05/0.2014, allocations: 118.4 kB / 423.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-06/0.2014, allocations: 4 kB / 423.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.031e-05/0.2014, allocations: 11.08 kB / 423.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.2014, allocations: 3.938 kB / 423.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.2014, allocations: 4 kB / 423.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.2015, allocations: 0 / 423.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.2017, allocations: 185.6 kB / 423.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2017, allocations: 0 / 423.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.2019, allocations: 27.98 kB / 423.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2019, allocations: 4 kB / 423.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.2019, allocations: 0 / 423.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007712/0.2027, allocations: 2.541 MB / 425.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2027, allocations: 4.031 kB / 425.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.2028, allocations: 0.6169 MB / 426.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.2029, allocations: 81.23 kB / 426.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-06/0.2029, allocations: 4 kB / 426.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.904e-05/0.2029, allocations: 0 / 426.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.2029, allocations: 0 / 426.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.2029, allocations: 4 kB / 426.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.505e-05/0.203, allocations: 75.28 kB / 426.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.203, allocations: 0 / 426.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002915/0.2033, allocations: 11.94 kB / 426.7 MB, free: 10.83 MB / 298.7 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 5.417e-05/0.2033, allocations: 103.3 kB / 426.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.2037, allocations: 31.91 kB / 426.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2037, allocations: 0 / 426.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.2041, allocations: 44.09 kB / 426.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.2042, allocations: 12.84 kB / 426.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.2045, allocations: 211.1 kB / 427.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.775e-05/0.2046, allocations: 0.6809 MB / 427.8 MB, free: 9.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.2047, allocations: 20.06 kB / 427.8 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.2047, allocations: 23.41 kB / 427.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.2047, allocations: 0 / 427.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of Templates: time 0.002444/0.2072, allocations: 0.8498 MB / 428.7 MB, free: 8.789 MB / 298.7 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)