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.001032/0.001032, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.008/1.008, allocations: 177.2 MB / 200 MB, free: 5.543 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.001172/0.001172, allocations: 156.5 kB / 256.6 MB, free: 13.02 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.0223/0.0223, allocations: 6.658 MB / 319.8 MB, free: 26.55 MB / 266.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 1.403e-06/1.403e-06, allocations: 0 / 391.6 MB, free: 2.625 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.667e-05, allocations: 5.969 kB / 391.6 MB, free: 2.621 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.004005/0.004032, allocations: 1.239 MB / 392.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 4.805e-05/0.00408, allocations: 7.922 kB / 392.9 MB, free: 1.363 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.004105, allocations: 0 / 392.9 MB, free: 1.363 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.004128, allocations: 0 / 392.9 MB, free: 1.363 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.867e-05/0.004177, allocations: 3.938 kB / 392.9 MB, free: 1.359 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.872e-05/0.004225, allocations: 8 kB / 392.9 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.606e-05/0.004291, allocations: 15.92 kB / 392.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.004331, allocations: 0 / 392.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.374e-05/0.004365, allocations: 4 kB / 392.9 MB, free: 1.332 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.004418, allocations: 3.984 kB / 392.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.004436, allocations: 4 kB / 392.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-06/0.004441, allocations: 0 / 392.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.004455, allocations: 0 / 392.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.004474, allocations: 0 / 392.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.078e-05/0.004534, allocations: 11.92 kB / 392.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004537, allocations: 0 / 392.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004538, allocations: 4 kB / 392.9 MB, free: 1.309 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.004542, allocations: 0 / 392.9 MB, free: 1.309 MB / 314.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.0003483/0.004891, allocations: 344.4 kB / 393.2 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.004931, allocations: 12.03 kB / 393.3 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.004967, allocations: 5.234 kB / 393.3 MB, free: 0.918 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.933e-05/0.005056, allocations: 116.5 kB / 393.4 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.005067, allocations: 4.312 kB / 393.4 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.005075, allocations: 384 / 393.4 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.442e-05/0.005169, allocations: 53.62 kB / 393.4 MB, free: 0.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.005177, allocations: 192 / 393.4 MB, free: 0.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.005186, allocations: 4.375 kB / 393.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.005193, allocations: 384 / 393.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.005212, allocations: 11.88 kB / 393.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.005579, allocations: 152.4 kB / 393.6 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.678e-05/0.005636, allocations: 54.19 kB / 393.7 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.005657, allocations: 15.38 kB / 393.7 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.005665, allocations: 12 kB / 393.7 MB, free: 400 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.005685, allocations: 37.38 kB / 393.7 MB, free: 352 kB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.005687, allocations: 0 / 393.7 MB, free: 352 kB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.000118/0.005804, allocations: 45.64 kB / 393.8 MB, free: 300 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.005837, allocations: 77.11 kB / 393.8 MB, free: 204 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.005909, allocations: 161.9 kB / 394 MB, free: 24 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.005934, allocations: 25.7 kB / 394 MB, free: 15.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.006193, allocations: 130.9 kB / 394.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.006214, allocations: 4.328 kB / 394.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.006244, allocations: 23.38 kB / 394.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.006355, allocations: 496.1 kB / 394.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.006366, allocations: 4 kB / 394.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.006383, allocations: 15.38 kB / 394.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/0.009825, allocations: 31.31 kB / 394.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.009831, allocations: 3.984 kB / 394.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.187e-05/0.009903, allocations: 37.64 kB / 394.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.009918, allocations: 8.125 kB / 394.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.009924, allocations: 4 kB / 394.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.009937, allocations: 0 / 394.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.0101, allocations: 23.98 kB / 394.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.01177, allocations: 3.595 MB / 398.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.01178, allocations: 0 / 398.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.01179, allocations: 4 kB / 398.4 MB, free: 11.34 MB / 330.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.774e-05/0.01186, allocations: 160.5 kB / 398.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.01187, allocations: 4 kB / 398.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.744e-06/0.01187, allocations: 7.156 kB / 398.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.01187, allocations: 8.062 kB / 398.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.01188, allocations: 0 / 398.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01188, allocations: 4 kB / 398.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.01207, allocations: 144.5 kB / 398.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01207, allocations: 0 / 398.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.01217, allocations: 27.98 kB / 398.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.01217, allocations: 4 kB / 398.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.01217, allocations: 0 / 398.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004654/0.01683, allocations: 3.592 MB / 402.3 MB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01683, allocations: 0 / 402.3 MB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.499e-05/0.0169, allocations: 84.08 kB / 402.4 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-06/0.01691, allocations: 3.984 kB / 402.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-06/0.01692, allocations: 0 / 402.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.014e-05/0.01694, allocations: 4 kB / 402.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.01696, allocations: 3.938 kB / 402.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.01696, allocations: 0 / 402.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.687e-05/0.017, allocations: 123.3 kB / 402.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.017, allocations: 4.094 kB / 402.5 MB, free: 6.867 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.01723, allocations: 8 kB / 402.6 MB, free: 6.859 MB / 330.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 8.411e-05/0.01731, allocations: 95.23 kB / 402.6 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.01762, allocations: 44.69 kB / 402.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.01762, allocations: 4 kB / 402.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.01776, allocations: 36.91 kB / 402.7 MB, free: 6.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.01791, allocations: 7.938 kB / 402.7 MB, free: 6.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.01834, allocations: 131.7 kB / 402.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.002e-05/0.01837, allocations: 55.34 kB / 402.9 MB, free: 6.422 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.602e-05/0.01844, allocations: 20.12 kB / 402.9 MB, free: 6.402 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.0185, allocations: 24.45 kB / 403 MB, free: 6.379 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.0185, allocations: 0 / 403 MB, free: 6.379 MB / 330.7 MB Notification: Performance of Templates: time 0.005669/0.02417, allocations: 0.8667 MB / 403.8 MB, free: 5.512 MB / 330.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: 3.0873333858326077]