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.001769/0.001769, allocations: 110.8 kB / 16.42 MB, free: 6.449 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.38/1.38, allocations: 222.9 MB / 240.1 MB, free: 4.508 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.001386/0.001386, allocations: 184.5 kB / 290.4 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03551/0.03551, allocations: 8.799 MB / 349.3 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.88 kB / 464.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09826, allocations: 51.56 MB / 0.504 GB, free: 9.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002237/0.1005, allocations: 1.182 MB / 0.5052 GB, free: 8.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 4.45e-05/0.1006, allocations: 4 kB / 0.5052 GB, free: 8.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.1006, allocations: 4 kB / 0.5052 GB, free: 8.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.1007, allocations: 0 / 0.5052 GB, free: 8.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.1007, allocations: 3.938 kB / 0.5052 GB, free: 8.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.665e-05/0.1008, allocations: 7.984 kB / 0.5052 GB, free: 8.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.831e-05/0.1009, allocations: 7.938 kB / 0.5052 GB, free: 8.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.101, allocations: 4 kB / 0.5052 GB, free: 8.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.101, allocations: 3.938 kB / 0.5052 GB, free: 8.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.734e-05/0.1011, allocations: 7.984 kB / 0.5052 GB, free: 8.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1011, allocations: 0 / 0.5052 GB, free: 8.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.832e-06/0.1011, allocations: 0 / 0.5052 GB, free: 8.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.1011, allocations: 3.984 kB / 0.5052 GB, free: 8.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.1012, allocations: 3.938 kB / 0.5053 GB, free: 8.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.321e-05/0.1013, allocations: 7.938 kB / 0.5053 GB, free: 8.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1013, allocations: 4 kB / 0.5053 GB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1013, allocations: 4 kB / 0.5053 GB, free: 8.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.1013, allocations: 0 / 0.5053 GB, free: 8.27 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.0003954/0.1017, allocations: 319.5 kB / 0.5056 GB, free: 7.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1017, allocations: 8.031 kB / 0.5056 GB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.1018, allocations: 4.938 kB / 0.5056 GB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1019, allocations: 168.3 kB / 0.5057 GB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1019, allocations: 384 / 0.5057 GB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.1019, allocations: 384 / 0.5057 GB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.55e-05/0.102, allocations: 55.91 kB / 0.5058 GB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.102, allocations: 192 / 0.5058 GB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.102, allocations: 3.938 kB / 0.5058 GB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1021, allocations: 7.938 kB / 0.5058 GB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.856e-05/0.1021, allocations: 0 / 0.5058 GB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.1026, allocations: 190.5 kB / 0.506 GB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/0.1026, allocations: 45.12 kB / 0.506 GB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.1027, allocations: 17.83 kB / 0.5061 GB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.1027, allocations: 0 / 0.5061 GB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1027, allocations: 42.5 kB / 0.5061 GB, free: 7.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.1027, allocations: 0 / 0.5061 GB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001441/0.1029, allocations: 45.58 kB / 0.5061 GB, free: 7.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1029, allocations: 77.11 kB / 0.5062 GB, free: 7.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.103, allocations: 101.8 kB / 0.5063 GB, free: 6.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.103, allocations: 25.7 kB / 0.5063 GB, free: 6.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.103, allocations: 80.52 kB / 0.5064 GB, free: 6.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1031, allocations: 11.95 kB / 0.5064 GB, free: 6.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.1031, allocations: 9.719 kB / 0.5064 GB, free: 6.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.1032, allocations: 318.8 kB / 0.5067 GB, free: 6.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.1032, allocations: 4 kB / 0.5067 GB, free: 6.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.1033, allocations: 13.7 kB / 0.5067 GB, free: 6.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.1033, allocations: 25.78 kB / 0.5068 GB, free: 6.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1033, allocations: 0 / 0.5068 GB, free: 6.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.391e-05/0.1034, allocations: 45.59 kB / 0.5068 GB, free: 6.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1034, allocations: 8 kB / 0.5068 GB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1034, allocations: 0 / 0.5068 GB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1034, allocations: 3.938 kB / 0.5068 GB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.1036, allocations: 23.98 kB / 0.5069 GB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.1053, allocations: 2.715 MB / 0.5095 GB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.1053, allocations: 12.02 kB / 0.5095 GB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1053, allocations: 4.031 kB / 0.5095 GB, free: 3.379 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.804e-05/0.1054, allocations: 113.8 kB / 0.5096 GB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.1054, allocations: 7.984 kB / 0.5096 GB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.591e-05/0.1054, allocations: 7.062 kB / 0.5096 GB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1054, allocations: 0 / 0.5096 GB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1054, allocations: 0 / 0.5096 GB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.1055, allocations: 77.11 kB / 0.5097 GB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.1055, allocations: 8 kB / 0.5097 GB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.1055, allocations: 0 / 0.5097 GB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.1055, allocations: 0 / 0.5097 GB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002711/0.1058, allocations: 241.9 kB / 0.51 GB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001466/0.106, allocations: 297.9 kB / 0.5102 GB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.621e-05/0.106, allocations: 4.031 kB / 0.5102 GB, free: 2.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.888e-05/0.106, allocations: 79.28 kB / 0.5103 GB, free: 2.496 MB / 350.1 MB Notification: Performance of Backend: time 2.154e-06/0.106, allocations: 0 / 0.5103 GB, free: 2.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007801/0.1068, allocations: 116 kB / 0.5104 GB, free: 2.375 MB / 350.1 MB Notification: Performance of SimCode: time 0.0005044/0.1073, allocations: 0.5648 MB / 0.511 GB, free: 1.762 MB / 350.1 MB Notification: Performance of Templates: time 0.002456/0.1098, allocations: 0.5681 MB / 0.5115 GB, free: 1.195 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)