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.0008122/0.0008119, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.358/1.358, allocations: 223.3 MB / 239.4 MB, free: 5.492 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.001251/0.001251, allocations: 191.3 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03397/0.03397, allocations: 8.794 MB / 350.5 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003489, allocations: 12.92 kB / 413.8 MB, free: 42.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1052, allocations: 52.55 MB / 466.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002023/0.1072, allocations: 0.9237 MB / 467.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 6.674e-05/0.1073, allocations: 4 kB / 467.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.1074, allocations: 0 / 467.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.1074, allocations: 0 / 467.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.1075, allocations: 0 / 467.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.316e-05/0.1076, allocations: 0 / 467.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.036e-05/0.1076, allocations: 15.92 kB / 467.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.9e-05/0.1077, allocations: 4 kB / 467.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.626e-05/0.1078, allocations: 4 kB / 467.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.1078, allocations: 7.922 kB / 467.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1078, allocations: 0 / 467.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.1079, allocations: 0 / 467.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.1079, allocations: 0 / 467.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.1079, allocations: 37.62 kB / 467.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.2e-05/0.108, allocations: 0 / 467.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.108, allocations: 4 kB / 467.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.108, allocations: 0 / 467.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.108, allocations: 0 / 467.4 MB, free: 12.12 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.0004362/0.1085, allocations: 323.8 kB / 467.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.1085, allocations: 8.031 kB / 467.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.1086, allocations: 8.844 kB / 467.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.1087, allocations: 164.3 kB / 467.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1088, allocations: 384 / 467.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1088, allocations: 384 / 467.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1089, allocations: 51.97 kB / 467.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.109, allocations: 4.188 kB / 467.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.109, allocations: 3.938 kB / 467.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.109, allocations: 4 kB / 467.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.109, allocations: 3.938 kB / 467.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.1096, allocations: 194.6 kB / 468.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.179e-05/0.1096, allocations: 33.27 kB / 468.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.1097, allocations: 21.66 kB / 468.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1097, allocations: 0 / 468.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1097, allocations: 34.56 kB / 468.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.1097, allocations: 4 kB / 468.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001575/0.1099, allocations: 49.56 kB / 468.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.11, allocations: 85.05 kB / 468.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.11, allocations: 93.8 kB / 468.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1101, allocations: 25.7 kB / 468.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.1101, allocations: 84.14 kB / 468.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.1102, allocations: 11.89 kB / 468.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.1102, allocations: 10.09 kB / 468.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1103, allocations: 314.8 kB / 468.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.1103, allocations: 4 kB / 468.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.1104, allocations: 13.72 kB / 468.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.1104, allocations: 21.66 kB / 468.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1104, allocations: 0 / 468.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.869e-05/0.1105, allocations: 45.75 kB / 468.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1105, allocations: 7.938 kB / 469 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1105, allocations: 3.938 kB / 469 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1105, allocations: 4 kB / 469 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.1107, allocations: 23.98 kB / 469 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.1124, allocations: 2.538 MB / 471.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.1124, allocations: 0 / 471.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1124, allocations: 3.984 kB / 471.5 MB, free: 7.426 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 9.186e-05/0.1125, allocations: 121.7 kB / 471.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-06/0.1125, allocations: 0 / 471.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.318e-05/0.1126, allocations: 11.17 kB / 471.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1126, allocations: 0 / 471.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1126, allocations: 4 kB / 471.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1126, allocations: 0 / 471.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.1129, allocations: 189.6 kB / 471.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1129, allocations: 7.938 kB / 471.9 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.1131, allocations: 31.98 kB / 471.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1131, allocations: 0 / 471.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1131, allocations: 3.984 kB / 471.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.1146, allocations: 2.534 MB / 474.4 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1146, allocations: 4.062 kB / 474.4 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.963e-05/0.1147, allocations: 69.92 kB / 474.5 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1148, allocations: 81.05 kB / 474.6 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.1148, allocations: 8 kB / 474.6 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.1148, allocations: 0 / 474.6 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.1148, allocations: 4.031 kB / 474.6 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1149, allocations: 7.938 kB / 474.6 MB, free: 4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.243e-05/0.1149, allocations: 75.28 kB / 474.7 MB, free: 3.926 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1149, allocations: 0 / 474.7 MB, free: 3.926 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001963/0.1151, allocations: 4 kB / 474.7 MB, free: 3.922 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.0001029/0.1152, allocations: 95.23 kB / 474.8 MB, free: 3.816 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004876/0.1157, allocations: 51.94 kB / 474.8 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1157, allocations: 0 / 474.8 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.1161, allocations: 31.98 kB / 474.8 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.1162, allocations: 14.06 kB / 474.9 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.1166, allocations: 115.9 kB / 475 MB, free: 3.582 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1168, allocations: 0.6809 MB / 475.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.1169, allocations: 20 kB / 475.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.117, allocations: 23.39 kB / 475.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of SimCode: time 8.12e-07/0.117, allocations: 0 / 475.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of Templates: time 0.003096/0.1201, allocations: 0.8186 MB / 476.5 MB, free: 2.012 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: