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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.041/1.041, allocations: 177.2 MB / 201 MB, free: 5.695 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 152.6 kB / 257.7 MB, free: 12.98 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02747/0.02747, allocations: 6.659 MB / 320.9 MB, free: 11.43 MB / 298.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 392.9 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.418e-05, allocations: 2.312 kB / 392.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001915/0.001939, allocations: 1.227 MB / 394.1 MB, free: 2.133 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 5.257e-05/0.001992, allocations: 7.984 kB / 394.1 MB, free: 2.125 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.002019, allocations: 0 / 394.1 MB, free: 2.125 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.002039, allocations: 0 / 394.1 MB, free: 2.125 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.016e-05/0.002089, allocations: 3.938 kB / 394.1 MB, free: 2.121 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.961e-05/0.002139, allocations: 7.984 kB / 394.1 MB, free: 2.113 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.666e-05/0.002195, allocations: 7.938 kB / 394.1 MB, free: 2.105 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.002243, allocations: 4 kB / 394.1 MB, free: 2.102 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.002278, allocations: 11.94 kB / 394.1 MB, free: 2.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.002343, allocations: 3.984 kB / 394.1 MB, free: 2.086 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.002359, allocations: 0 / 394.1 MB, free: 2.086 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.34e-06/0.002364, allocations: 0 / 394.1 MB, free: 2.086 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.002379, allocations: 0 / 394.1 MB, free: 2.086 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.002418, allocations: 8 kB / 394.1 MB, free: 2.078 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 5.614e-05/0.002474, allocations: 7.922 kB / 394.2 MB, free: 2.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002476, allocations: 11.94 kB / 394.2 MB, free: 2.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.002477, allocations: 0 / 394.2 MB, free: 2.059 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.002481, allocations: 0 / 394.2 MB, free: 2.059 MB / 362.7 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.0002888/0.002769, allocations: 344.7 kB / 394.5 MB, free: 1.684 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.002803, allocations: 8.031 kB / 394.5 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.002823, allocations: 0.9375 kB / 394.5 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.002939, allocations: 112.6 kB / 394.6 MB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.002948, allocations: 384 / 394.6 MB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.002955, allocations: 4.359 kB / 394.6 MB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.843e-05/0.003023, allocations: 57.62 kB / 394.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.003032, allocations: 4.125 kB / 394.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.003037, allocations: 4.375 kB / 394.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.003041, allocations: 384 / 394.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-06/0.003049, allocations: 3.938 kB / 394.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.003305, allocations: 137 kB / 394.8 MB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.003356, allocations: 62.16 kB / 394.9 MB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.003372, allocations: 19.36 kB / 394.9 MB, free: 1.176 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-06/0.003377, allocations: 4.062 kB / 394.9 MB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.003397, allocations: 33.39 kB / 394.9 MB, free: 1.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.003399, allocations: 0 / 394.9 MB, free: 1.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 9.057e-05/0.003489, allocations: 49.62 kB / 395 MB, free: 1.074 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.003524, allocations: 77.11 kB / 395.1 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.387e-05/0.003587, allocations: 153.9 kB / 395.2 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.003595, allocations: 26.08 kB / 395.2 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.003699, allocations: 134.9 kB / 395.4 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.00372, allocations: 3.953 kB / 395.4 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.003743, allocations: 19.38 kB / 395.4 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.003844, allocations: 0.4883 MB / 395.9 MB, free: 116 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-06/0.003852, allocations: 3.938 kB / 395.9 MB, free: 112 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.003864, allocations: 19.38 kB / 395.9 MB, free: 84 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.00389, allocations: 23.38 kB / 395.9 MB, free: 52 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.003892, allocations: 4 kB / 395.9 MB, free: 48 kB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.936e-05/0.003951, allocations: 45.73 kB / 396 MB, free: 15.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.003961, allocations: 4 kB / 396 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.003964, allocations: 0 / 396 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.003971, allocations: 4 kB / 396 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.004071, allocations: 27.88 kB / 396 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.005414, allocations: 3.557 MB / 399.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.005428, allocations: 0 / 399.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.005432, allocations: 4 kB / 399.6 MB, free: 12.18 MB / 378.7 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.074e-05/0.005493, allocations: 156.6 kB / 399.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.005501, allocations: 12.12 kB / 399.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.694e-06/0.005508, allocations: 7.141 kB / 399.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.005509, allocations: 0 / 399.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-07/0.00551, allocations: 0 / 399.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.005512, allocations: 0 / 399.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.005668, allocations: 133.2 kB / 399.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.00567, allocations: 0 / 399.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.005738, allocations: 27.98 kB / 399.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.005742, allocations: 7.938 kB / 399.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-06/0.005746, allocations: 0 / 399.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.007063, allocations: 3.546 MB / 403.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007064, allocations: 0 / 403.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.077e-05/0.007114, allocations: 84.02 kB / 403.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.00712, allocations: 7.938 kB / 403.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-06/0.007126, allocations: 7.984 kB / 403.6 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.007137, allocations: 0 / 403.6 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.007152, allocations: 7.938 kB / 403.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.007155, allocations: 128 / 403.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.278e-05/0.007188, allocations: 127.2 kB / 403.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007188, allocations: 0 / 403.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001376/0.007325, allocations: 4 kB / 403.7 MB, free: 7.777 MB / 378.7 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 6.78e-05/0.007393, allocations: 95.23 kB / 403.8 MB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.007614, allocations: 44.89 kB / 403.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.007617, allocations: 4 kB / 403.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.00772, allocations: 36.72 kB / 403.9 MB, free: 7.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.007825, allocations: 4 kB / 403.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.008149, allocations: 124 kB / 404 MB, free: 7.422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.008178, allocations: 63.34 kB / 404.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.235e-05/0.00824, allocations: 16 kB / 404.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.008308, allocations: 78.17 kB / 404.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.008309, allocations: 7.938 kB / 404.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of Templates: time 0.002036/0.01035, allocations: 0.9047 MB / 405.1 MB, free: 6.336 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8912412370555103]