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.001731/0.001731, allocations: 109.2 kB / 16.37 MB, free: 6.473 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.354/1.354, allocations: 222.9 MB / 240 MB, free: 4.605 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.001289/0.001289, allocations: 187.6 kB / 290.3 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03568/0.03568, allocations: 8.788 MB / 349.3 MB, free: 4.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 76.53 kB / 412.5 MB, free: 41.83 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07701/0.07854, allocations: 51.57 MB / 464.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002156/0.08073, allocations: 1.188 MB / 465.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 3.6e-05/0.08079, allocations: 4 kB / 465.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.08081, allocations: 8 kB / 465.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.08083, allocations: 0 / 465.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.764e-05/0.08088, allocations: 3.938 kB / 465.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.117e-05/0.08093, allocations: 0 / 465.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.148e-05/0.08099, allocations: 11.97 kB / 465.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.08104, allocations: 4 kB / 465.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.648e-05/0.08106, allocations: 3.938 kB / 465.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.08111, allocations: 4 kB / 465.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.08113, allocations: 0 / 465.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-06/0.08114, allocations: 0 / 465.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.08115, allocations: 4 kB / 465.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.08118, allocations: 3.938 kB / 465.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.128e-05/0.08123, allocations: 11.92 kB / 465.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.08124, allocations: 4 kB / 465.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.08125, allocations: 0 / 465.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.08126, allocations: 0 / 465.3 MB, free: 12.37 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.0003208/0.08158, allocations: 319.5 kB / 465.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.08162, allocations: 12.03 kB / 465.7 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.151e-05/0.08165, allocations: 0.9375 kB / 465.7 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.986e-05/0.08175, allocations: 164.4 kB / 465.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-06/0.08177, allocations: 384 / 465.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.08178, allocations: 4.375 kB / 465.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.234e-05/0.08187, allocations: 43.97 kB / 465.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.08189, allocations: 4.188 kB / 465.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.0819, allocations: 3.938 kB / 465.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.08191, allocations: 0 / 465.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.08193, allocations: 3.938 kB / 465.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.08236, allocations: 198.5 kB / 466.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.78e-05/0.08242, allocations: 41.16 kB / 466.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.08245, allocations: 17.7 kB / 466.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.08246, allocations: 0 / 466.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.08249, allocations: 34.62 kB / 466.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.08249, allocations: 0 / 466.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001144/0.08261, allocations: 49.56 kB / 466.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.08266, allocations: 85.05 kB / 466.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.08272, allocations: 98.11 kB / 466.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.08274, allocations: 25.7 kB / 466.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.08277, allocations: 84.14 kB / 466.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.0828, allocations: 15.81 kB / 466.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.08283, allocations: 13.72 kB / 466.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.08293, allocations: 318.8 kB / 466.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.08295, allocations: 0 / 466.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/0.08297, allocations: 17.84 kB / 466.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.945e-05/0.083, allocations: 21.66 kB / 466.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.08301, allocations: 0 / 466.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.011e-05/0.08307, allocations: 45.62 kB / 466.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.08309, allocations: 8 kB / 466.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.0831, allocations: 3.938 kB / 466.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.08312, allocations: 0 / 466.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.08331, allocations: 28.11 kB / 467 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.08482, allocations: 2.715 MB / 469.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.269e-05/0.08486, allocations: 4 kB / 469.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.08487, allocations: 0 / 469.7 MB, free: 7.484 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 6.437e-05/0.08494, allocations: 121.7 kB / 469.8 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.08496, allocations: 7.938 kB / 469.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.085e-05/0.08497, allocations: 11.17 kB / 469.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.08498, allocations: 0 / 469.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.08499, allocations: 3.984 kB / 469.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.08499, allocations: 4 kB / 469.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.08533, allocations: 181.7 kB / 470 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.08534, allocations: 3.984 kB / 470 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.08551, allocations: 27.98 kB / 470 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.08553, allocations: 3.938 kB / 470 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.08554, allocations: 7.938 kB / 470.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.08697, allocations: 2.711 MB / 472.8 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.08699, allocations: 3.938 kB / 472.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.51e-05/0.08706, allocations: 74.12 kB / 472.8 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.08711, allocations: 89.03 kB / 472.9 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-06/0.08712, allocations: 0 / 472.9 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.08714, allocations: 0 / 472.9 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.08717, allocations: 4 kB / 472.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.08717, allocations: 0 / 472.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.012e-05/0.08721, allocations: 75.28 kB / 473 MB, free: 3.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08721, allocations: 0 / 473 MB, free: 3.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002032/0.08742, allocations: 8 kB / 473 MB, free: 3.785 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 8.376e-05/0.08751, allocations: 103.3 kB / 473.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.08798, allocations: 35.91 kB / 473.1 MB, free: 3.637 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.088, allocations: 4 kB / 473.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.08835, allocations: 40.03 kB / 473.2 MB, free: 3.594 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.0885, allocations: 0 / 473.2 MB, free: 3.594 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.08881, allocations: 122.2 kB / 473.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.08907, allocations: 0.6808 MB / 474 MB, free: 2.738 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.473e-05/0.08916, allocations: 19.98 kB / 474 MB, free: 2.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.08923, allocations: 23.41 kB / 474 MB, free: 2.695 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.08924, allocations: 0 / 474 MB, free: 2.695 MB / 302.1 MB Notification: Performance of Templates: time 0.002832/0.09208, allocations: 0.8265 MB / 474.9 MB, free: 1.867 MB / 302.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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)