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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008565/0.0008565, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.002129, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.964/0.964, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1622/1.126, allocations: 53.64 MB / 241.9 MB, free: 2.738 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007742/0.0007742, allocations: 150.8 kB / 242.8 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.00179, allocations: 479.5 kB / 243.2 MB, free: 1.426 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.0243/0.0243, allocations: 6.65 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005135/0.02943, allocations: 2.666 MB / 253.3 MB, free: 7.566 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 254.5 MB, free: 6.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.977e-05, allocations: 2.312 kB / 254.5 MB, free: 6.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001607/0.001627, allocations: 1.273 MB / 255.8 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 2.183e-05/0.001649, allocations: 7.984 kB / 255.8 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.001665, allocations: 3.938 kB / 255.8 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.404e-06/0.001672, allocations: 0 / 255.8 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.252e-05/0.001695, allocations: 11.92 kB / 255.8 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.41e-05/0.001719, allocations: 0 / 255.8 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.626e-05/0.001765, allocations: 7.938 kB / 255.8 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.001804, allocations: 7.984 kB / 255.8 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.001852, allocations: 8 kB / 255.9 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.001905, allocations: 0 / 255.9 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.001922, allocations: 3.938 kB / 255.9 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-06/0.001927, allocations: 4 kB / 255.9 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.001939, allocations: 0 / 255.9 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.885e-05/0.001958, allocations: 0 / 255.9 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.891e-05/0.002017, allocations: 11.98 kB / 255.9 MB, free: 4.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.541e-05/0.002032, allocations: 0 / 255.9 MB, free: 4.969 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002033, allocations: 0 / 255.9 MB, free: 4.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.002048, allocations: 0 / 255.9 MB, free: 4.969 MB / 250.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.0003134/0.002362, allocations: 220.7 kB / 256.1 MB, free: 4.727 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.00239, allocations: 8.031 kB / 256.1 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.948e-05/0.00241, allocations: 4.938 kB / 256.1 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.692e-05/0.002487, allocations: 105.8 kB / 256.2 MB, free: 4.586 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.002497, allocations: 8.312 kB / 256.2 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-06/0.002502, allocations: 384 / 256.2 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.028e-05/0.002573, allocations: 51.97 kB / 256.3 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.00258, allocations: 4.125 kB / 256.3 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.002586, allocations: 384 / 256.3 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.002591, allocations: 384 / 256.3 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.394e-05/0.002605, allocations: 11.88 kB / 256.3 MB, free: 4.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.002843, allocations: 93.95 kB / 256.4 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/0.002885, allocations: 45.25 kB / 256.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.002899, allocations: 9.719 kB / 256.4 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.002906, allocations: 0 / 256.4 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.002928, allocations: 42.5 kB / 256.5 MB, free: 4.262 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.002929, allocations: 0 / 256.5 MB, free: 4.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 8.409e-05/0.003013, allocations: 37.64 kB / 256.5 MB, free: 4.219 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.00305, allocations: 81.09 kB / 256.6 MB, free: 4.121 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.003099, allocations: 99.06 kB / 256.7 MB, free: 4.012 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.003109, allocations: 29.73 kB / 256.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.315e-05/0.003132, allocations: 84.12 kB / 256.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.003156, allocations: 7.953 kB / 256.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.003181, allocations: 13.72 kB / 256.8 MB, free: 3.863 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.003264, allocations: 322.8 kB / 257.1 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.003274, allocations: 0 / 257.1 MB, free: 3.539 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.003293, allocations: 13.72 kB / 257.1 MB, free: 3.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.731e-05/0.003321, allocations: 21.66 kB / 257.2 MB, free: 3.492 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.003323, allocations: 0 / 257.2 MB, free: 3.492 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.181e-05/0.003365, allocations: 41.75 kB / 257.2 MB, free: 3.445 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.003379, allocations: 8 kB / 257.2 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.003384, allocations: 0 / 257.2 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.003395, allocations: 0 / 257.2 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.003502, allocations: 27.92 kB / 257.2 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.004584, allocations: 2.376 MB / 259.6 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.301e-05/0.004597, allocations: 4 kB / 259.6 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.004601, allocations: 0 / 259.6 MB, free: 0.8633 MB / 250.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 5.015e-05/0.004651, allocations: 110 kB / 259.7 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.004659, allocations: 15.88 kB / 259.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.927e-06/0.004668, allocations: 7.156 kB / 259.7 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.11e-07/0.004668, allocations: 0 / 259.7 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.004672, allocations: 7.984 kB / 259.8 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.004675, allocations: 3.984 kB / 259.8 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.004812, allocations: 93.83 kB / 259.9 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.004814, allocations: 0 / 259.9 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.004875, allocations: 35.97 kB / 259.9 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.004881, allocations: 0 / 259.9 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.004884, allocations: 7.938 kB / 259.9 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-06/0.004887, allocations: 4 kB / 259.9 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008306/0.005718, allocations: 2.369 MB / 262.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.00572, allocations: 0 / 262.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.3e-05/0.005763, allocations: 69.91 kB / 262.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-06/0.005769, allocations: 8 kB / 262.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-06/0.005777, allocations: 0 / 262.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.005789, allocations: 192 / 262.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.005793, allocations: 8 kB / 262.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.032e-05/0.005803, allocations: 8.797 kB / 262.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005803, allocations: 0 / 262.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001125/0.005916, allocations: 4 kB / 262.4 MB, free: 13.89 MB / 266.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 0.000116/0.006032, allocations: 80.34 kB / 262.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.006323, allocations: 50.02 kB / 262.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.006328, allocations: 0 / 262.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.006455, allocations: 33.95 kB / 262.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.815e-05/0.006533, allocations: 0 / 262.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.007298, allocations: 143.2 kB / 262.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.007333, allocations: 55.36 kB / 262.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.205e-05/0.007415, allocations: 12 kB / 262.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.0075, allocations: 67.33 kB / 262.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0075, allocations: 4 kB / 262.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Templates: time 0.002524/0.01002, allocations: 0.8944 MB / 263.7 MB, free: 12.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.57614837680012]