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.00149/0.00149, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.436/1.436, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001314/0.001314, allocations: 188.5 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03563/0.03563, allocations: 8.799 MB / 349.3 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 79.88 kB / 464.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09059/0.09223, allocations: 51.55 MB / 0.504 GB, free: 9.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002353/0.09461, allocations: 1.189 MB / 0.5052 GB, free: 8.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 3.798e-05/0.09467, allocations: 0 / 0.5052 GB, free: 8.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.09475, allocations: 4 kB / 0.5052 GB, free: 8.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.09477, allocations: 0 / 0.5052 GB, free: 8.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.333e-05/0.09482, allocations: 7.922 kB / 0.5052 GB, free: 8.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.814e-05/0.09487, allocations: 4 kB / 0.5052 GB, free: 8.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.327e-05/0.09494, allocations: 7.984 kB / 0.5052 GB, free: 8.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.095, allocations: 4 kB / 0.5052 GB, free: 8.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.803e-05/0.09502, allocations: 3.938 kB / 0.5052 GB, free: 8.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.09507, allocations: 8 kB / 0.5052 GB, free: 8.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.0951, allocations: 0 / 0.5052 GB, free: 8.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-06/0.09511, allocations: 3.938 kB / 0.5052 GB, free: 8.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.09512, allocations: 0 / 0.5052 GB, free: 8.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.09515, allocations: 3.938 kB / 0.5052 GB, free: 8.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.112e-05/0.09521, allocations: 7.984 kB / 0.5053 GB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.09522, allocations: 0 / 0.5053 GB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09522, allocations: 0 / 0.5053 GB, free: 8.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.09523, allocations: 0 / 0.5053 GB, free: 8.262 MB / 350.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.0003537/0.09559, allocations: 323.6 kB / 0.5056 GB, free: 7.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.09563, allocations: 8.031 kB / 0.5056 GB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.09567, allocations: 4.938 kB / 0.5056 GB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.09578, allocations: 164.3 kB / 0.5057 GB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.0958, allocations: 4.359 kB / 0.5057 GB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.09581, allocations: 384 / 0.5057 GB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.706e-05/0.0959, allocations: 47.97 kB / 0.5058 GB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.09592, allocations: 192 / 0.5058 GB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.09593, allocations: 7.938 kB / 0.5058 GB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.09594, allocations: 4 kB / 0.5058 GB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.09597, allocations: 3.938 kB / 0.5058 GB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.09641, allocations: 186.5 kB / 0.506 GB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/0.09647, allocations: 49.12 kB / 0.506 GB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.09649, allocations: 13.84 kB / 0.506 GB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.09651, allocations: 0 / 0.506 GB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.09654, allocations: 38.5 kB / 0.5061 GB, free: 7.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.09655, allocations: 0 / 0.5061 GB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001391/0.09669, allocations: 49.81 kB / 0.5061 GB, free: 7.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.09673, allocations: 81.11 kB / 0.5062 GB, free: 7.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.0968, allocations: 93.86 kB / 0.5063 GB, free: 6.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.09682, allocations: 29.7 kB / 0.5063 GB, free: 6.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.09685, allocations: 84.12 kB / 0.5064 GB, free: 6.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.09689, allocations: 15.83 kB / 0.5064 GB, free: 6.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.09692, allocations: 9.719 kB / 0.5064 GB, free: 6.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.09703, allocations: 318.9 kB / 0.5067 GB, free: 6.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.09705, allocations: 8 kB / 0.5067 GB, free: 6.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.09707, allocations: 13.72 kB / 0.5067 GB, free: 6.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.039e-05/0.0971, allocations: 21.66 kB / 0.5068 GB, free: 6.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.09711, allocations: 0 / 0.5068 GB, free: 6.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.183e-05/0.09717, allocations: 41.62 kB / 0.5068 GB, free: 6.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.09719, allocations: 12.12 kB / 0.5068 GB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.0972, allocations: 0 / 0.5068 GB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.09722, allocations: 3.938 kB / 0.5068 GB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.09741, allocations: 23.98 kB / 0.5068 GB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.09892, allocations: 2.723 MB / 0.5095 GB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.09896, allocations: 32 / 0.5095 GB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.09897, allocations: 4 kB / 0.5095 GB, free: 3.371 MB / 350.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 6.531e-05/0.09904, allocations: 117.8 kB / 0.5096 GB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.09906, allocations: 4 kB / 0.5096 GB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.529e-05/0.09908, allocations: 11.06 kB / 0.5096 GB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.09908, allocations: 0 / 0.5096 GB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.09909, allocations: 3.984 kB / 0.5096 GB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.09913, allocations: 77.11 kB / 0.5097 GB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-06/0.09914, allocations: 4 kB / 0.5097 GB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/0.09916, allocations: 0 / 0.5097 GB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.09918, allocations: 0 / 0.5097 GB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002636/0.09945, allocations: 233.9 kB / 0.5099 GB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001417/0.0996, allocations: 302 kB / 0.5102 GB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.596e-05/0.09962, allocations: 4.031 kB / 0.5102 GB, free: 2.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.745e-05/0.09965, allocations: 79.22 kB / 0.5103 GB, free: 2.488 MB / 350.1 MB Notification: Performance of Backend: time 1.573e-06/0.09966, allocations: 0 / 0.5103 GB, free: 2.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007543/0.1004, allocations: 112 kB / 0.5104 GB, free: 2.371 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004507/0.1009, allocations: 0.569 MB / 0.511 GB, free: 1.754 MB / 350.1 MB Notification: Performance of Templates: time 0.002523/0.1034, allocations: 0.5798 MB / 0.5115 GB, free: 1.176 MB / 350.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)