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.0008833/0.0008832, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.356/1.356, allocations: 223.3 MB / 239.1 MB, free: 5.434 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.001411/0.001411, allocations: 188.5 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03164/0.03164, allocations: 8.802 MB / 350.2 MB, free: 4.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.000407, allocations: 10.11 kB / 413.2 MB, free: 42.92 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1011, allocations: 52.56 MB / 465.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001344/0.1025, allocations: 0.9003 MB / 466.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 5.884e-05/0.1026, allocations: 15.91 kB / 466.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.324e-05/0.1027, allocations: 0 / 466.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.1027, allocations: 0 / 466.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.053e-05/0.1027, allocations: 0 / 466.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.283e-05/0.1028, allocations: 0 / 466.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.226e-05/0.1029, allocations: 7.938 kB / 466.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.908e-05/0.1029, allocations: 7.984 kB / 466.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.979e-05/0.103, allocations: 8 kB / 466.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.103, allocations: 3.938 kB / 466.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.103, allocations: 4 kB / 466.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-06/0.103, allocations: 0 / 466.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.1031, allocations: 0 / 466.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.1031, allocations: 25.7 kB / 466.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.597e-05/0.1031, allocations: 8 kB / 466.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1031, allocations: 0 / 466.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1031, allocations: 3.938 kB / 466.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1032, allocations: 0 / 466.7 MB, free: 12.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.0003592/0.1035, allocations: 315.7 kB / 467.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1036, allocations: 12.03 kB / 467.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.1036, allocations: 7.859 kB / 467.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1038, allocations: 171 kB / 467.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1038, allocations: 3.938 kB / 467.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.1038, allocations: 8 kB / 467.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.104, allocations: 43.36 kB / 467.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.104, allocations: 4 kB / 467.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.104, allocations: 0 / 467.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.104, allocations: 0 / 467.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.1041, allocations: 3.953 kB / 467.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.1045, allocations: 194.5 kB / 467.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/0.1046, allocations: 45.17 kB / 467.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.1046, allocations: 9.719 kB / 467.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.1047, allocations: 8.047 kB / 467.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1047, allocations: 34.5 kB / 467.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1047, allocations: 4 kB / 467.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001537/0.1049, allocations: 37.7 kB / 467.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.1049, allocations: 89.03 kB / 467.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.138e-05/0.105, allocations: 97.81 kB / 467.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.105, allocations: 25.7 kB / 467.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.1051, allocations: 84.14 kB / 467.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1051, allocations: 3.906 kB / 467.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.1051, allocations: 384 / 467.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1052, allocations: 318.8 kB / 468.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.1053, allocations: 4 kB / 468.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.1053, allocations: 13.7 kB / 468.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.122e-05/0.1053, allocations: 4 kB / 468.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1053, allocations: 0 / 468.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.657e-05/0.1054, allocations: 41.73 kB / 468.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1054, allocations: 12.03 kB / 468.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1054, allocations: 0 / 468.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1055, allocations: 0 / 468.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.1056, allocations: 27.97 kB / 468.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.1075, allocations: 2.546 MB / 470.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.1075, allocations: 3.938 kB / 470.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1075, allocations: 0 / 470.9 MB, free: 7.852 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 8.861e-05/0.1076, allocations: 113.9 kB / 471 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.1076, allocations: 0 / 471 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.285e-05/0.1076, allocations: 7.078 kB / 471 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1076, allocations: 0 / 471 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1076, allocations: 12.08 kB / 471 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1077, allocations: 3.953 kB / 471 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.108, allocations: 181.7 kB / 471.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.108, allocations: 0 / 471.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.1081, allocations: 27.98 kB / 471.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1081, allocations: 7.938 kB / 471.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.1082, allocations: 0 / 471.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.1097, allocations: 2.53 MB / 473.8 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.1098, allocations: 11.92 kB / 473.8 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.866e-05/0.1098, allocations: 74.11 kB / 473.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.1099, allocations: 77.11 kB / 473.9 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.1099, allocations: 4 kB / 473.9 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.1099, allocations: 4 kB / 473.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.11, allocations: 7.938 kB / 473.9 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.11, allocations: 0 / 473.9 MB, free: 4.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.93e-05/0.11, allocations: 83.31 kB / 474 MB, free: 4.359 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.11, allocations: 0 / 474 MB, free: 4.359 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.1102, allocations: 4 kB / 474 MB, free: 4.355 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 9.852e-05/0.1103, allocations: 95.19 kB / 474.1 MB, free: 4.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004904/0.1108, allocations: 40.12 kB / 474.2 MB, free: 4.211 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1109, allocations: 0 / 474.2 MB, free: 4.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.1112, allocations: 43.95 kB / 474.2 MB, free: 4.168 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.1114, allocations: 0 / 474.2 MB, free: 4.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.1117, allocations: 117.6 kB / 474.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.1119, allocations: 0.6809 MB / 475 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.1121, allocations: 16 kB / 475 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/0.1121, allocations: 27.41 kB / 475 MB, free: 3.273 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1121, allocations: 0 / 475 MB, free: 3.273 MB / 302.1 MB Notification: Performance of Templates: time 0.00281/0.115, allocations: 0.8141 MB / 475.8 MB, free: 2.457 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: