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.004687/0.004687, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.252/1.252, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001179/0.001179, allocations: 192.4 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0337/0.0337, allocations: 8.792 MB / 348.6 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 83.86 kB / 463.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09022/0.09168, allocations: 51.57 MB / 0.5034 GB, free: 9.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002367/0.09409, allocations: 1.18 MB / 0.5045 GB, free: 8.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 5.338e-05/0.09417, allocations: 11.92 kB / 0.5045 GB, free: 8.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.09421, allocations: 4 kB / 0.5045 GB, free: 8.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.09424, allocations: 0 / 0.5045 GB, free: 8.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.816e-05/0.09429, allocations: 0 / 0.5045 GB, free: 8.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.656e-05/0.09437, allocations: 0 / 0.5045 GB, free: 8.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.431e-05/0.09444, allocations: 11.94 kB / 0.5045 GB, free: 8.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.308e-05/0.09451, allocations: 11.98 kB / 0.5046 GB, free: 8.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.465e-05/0.09454, allocations: 11.92 kB / 0.5046 GB, free: 8.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.0946, allocations: 0 / 0.5046 GB, free: 8.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.09462, allocations: 0 / 0.5046 GB, free: 8.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-06/0.09463, allocations: 0 / 0.5046 GB, free: 8.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.09465, allocations: 4 kB / 0.5046 GB, free: 8.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.09468, allocations: 7.938 kB / 0.5046 GB, free: 8.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.829e-05/0.09474, allocations: 7.922 kB / 0.5046 GB, free: 8.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.09475, allocations: 4 kB / 0.5046 GB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09476, allocations: 0 / 0.5046 GB, free: 8.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.09476, allocations: 0 / 0.5046 GB, free: 8.273 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.000357/0.09513, allocations: 327.5 kB / 0.5049 GB, free: 7.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.09517, allocations: 8.031 kB / 0.5049 GB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.0952, allocations: 0.9375 kB / 0.5049 GB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.09531, allocations: 168.3 kB / 0.5051 GB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.09533, allocations: 4.375 kB / 0.5051 GB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.09534, allocations: 384 / 0.5051 GB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/0.09544, allocations: 43.98 kB / 0.5051 GB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.09546, allocations: 4.172 kB / 0.5051 GB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.09547, allocations: 3.938 kB / 0.5051 GB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.09548, allocations: 0 / 0.5051 GB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.28e-05/0.09551, allocations: 7.938 kB / 0.5051 GB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.09595, allocations: 190.5 kB / 0.5053 GB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.992e-05/0.09601, allocations: 33.25 kB / 0.5053 GB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.09605, allocations: 29.66 kB / 0.5054 GB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.09606, allocations: 3.938 kB / 0.5054 GB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.09609, allocations: 30.56 kB / 0.5054 GB, free: 7.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.09609, allocations: 0 / 0.5054 GB, free: 7.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000155/0.09625, allocations: 53.56 kB / 0.5055 GB, free: 7.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.09631, allocations: 77.11 kB / 0.5055 GB, free: 7.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.09638, allocations: 98.11 kB / 0.5056 GB, free: 6.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.0964, allocations: 25.7 kB / 0.5057 GB, free: 6.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.09644, allocations: 84.14 kB / 0.5057 GB, free: 6.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.09647, allocations: 3.953 kB / 0.5057 GB, free: 6.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.09651, allocations: 17.7 kB / 0.5058 GB, free: 6.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.0966, allocations: 310.8 kB / 0.5061 GB, free: 6.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.09662, allocations: 4 kB / 0.5061 GB, free: 6.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.09664, allocations: 17.84 kB / 0.5061 GB, free: 6.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.246e-05/0.09668, allocations: 21.66 kB / 0.5061 GB, free: 6.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.09669, allocations: 0 / 0.5061 GB, free: 6.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.519e-05/0.09676, allocations: 45.64 kB / 0.5061 GB, free: 6.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.09678, allocations: 7.938 kB / 0.5061 GB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.09679, allocations: 3.938 kB / 0.5061 GB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.0968, allocations: 128 / 0.5061 GB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.09699, allocations: 31.98 kB / 0.5062 GB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.09851, allocations: 2.719 MB / 0.5088 GB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.09855, allocations: 3.953 kB / 0.5088 GB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.09856, allocations: 0 / 0.5088 GB, free: 3.391 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 7.077e-05/0.09864, allocations: 113.8 kB / 0.5089 GB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.09865, allocations: 3.938 kB / 0.5089 GB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.696e-05/0.09868, allocations: 11.22 kB / 0.509 GB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.09869, allocations: 7.938 kB / 0.509 GB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.09869, allocations: 0 / 0.509 GB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.0987, allocations: 0 / 0.509 GB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.09902, allocations: 185.6 kB / 0.5091 GB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.09903, allocations: 0 / 0.5091 GB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.09919, allocations: 35.98 kB / 0.5092 GB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.0992, allocations: 3.938 kB / 0.5092 GB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.09921, allocations: 0 / 0.5092 GB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.1006, allocations: 2.723 MB / 0.5118 GB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1007, allocations: 0 / 0.5118 GB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.728e-05/0.1007, allocations: 78 kB / 0.5119 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.1008, allocations: 81.05 kB / 0.512 GB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.1008, allocations: 7.984 kB / 0.512 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.874e-05/0.1008, allocations: 0 / 0.512 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.1008, allocations: 4 kB / 0.512 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1009, allocations: 3.938 kB / 0.512 GB, free: 15.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.957e-05/0.1009, allocations: 79.28 kB / 0.5121 GB, free: 15.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1009, allocations: 0 / 0.5121 GB, free: 15.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002053/0.1011, allocations: 4 kB / 0.5121 GB, free: 15.68 MB / 366.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 9.692e-05/0.1012, allocations: 95.38 kB / 0.5122 GB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004662/0.1017, allocations: 39.91 kB / 0.5122 GB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1017, allocations: 0 / 0.5122 GB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.102, allocations: 36.09 kB / 0.5123 GB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.1022, allocations: 0 / 0.5123 GB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.1025, allocations: 110.3 kB / 0.5124 GB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.1028, allocations: 0.6846 MB / 0.513 GB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.893e-05/0.1029, allocations: 24 kB / 0.513 GB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.1029, allocations: 23.39 kB / 0.5131 GB, free: 14.61 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1029, allocations: 0 / 0.5131 GB, free: 14.61 MB / 366.1 MB Notification: Performance of Templates: time 0.002764/0.1057, allocations: 0.8382 MB / 0.5139 GB, free: 13.77 MB / 366.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)