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.001268/0.001268, allocations: 80.28 kB / 19.18 MB, free: 2.531 MB / 14.72 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.315/1.315, allocations: 177.1 MB / 199.4 MB, free: 8.449 MB / 190.1 MB " [Timeout remaining time 178] 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.001642/0.001642, allocations: 166.9 kB / 256 MB, free: 4.32 MB / 238.1 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.03936/0.03936, allocations: 6.661 MB / 319 MB, free: 5.387 MB / 302.1 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.092e-06/1.092e-06, allocations: 0 / 445.9 MB, free: 25.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.778e-05, allocations: 10.22 kB / 445.9 MB, free: 25.22 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001469/0.001487, allocations: 1.199 MB / 447.1 MB, free: 24.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 3.839e-05/0.001525, allocations: 11.92 kB / 447.1 MB, free: 24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.001548, allocations: 0 / 447.1 MB, free: 24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.001561, allocations: 0 / 447.1 MB, free: 24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.904e-05/0.0016, allocations: 4 kB / 447.1 MB, free: 24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.995e-05/0.00164, allocations: 0 / 447.1 MB, free: 24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.108e-05/0.001691, allocations: 15.92 kB / 447.1 MB, free: 23.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.001736, allocations: 4 kB / 447.1 MB, free: 23.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.958e-05/0.001765, allocations: 0 / 447.1 MB, free: 23.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.001809, allocations: 11.92 kB / 447.1 MB, free: 23.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.001826, allocations: 0 / 447.1 MB, free: 23.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.689e-06/0.001831, allocations: 0 / 447.1 MB, free: 23.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.001842, allocations: 0 / 447.1 MB, free: 23.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.00186, allocations: 7.984 kB / 447.1 MB, free: 23.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.03e-05/0.0019, allocations: 11.94 kB / 447.1 MB, free: 23.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.001901, allocations: 4 kB / 447.1 MB, free: 23.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.001902, allocations: 0 / 447.1 MB, free: 23.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.105e-06/0.001905, allocations: 0 / 447.1 MB, free: 23.94 MB / 334.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.0002525/0.002157, allocations: 242.5 kB / 447.4 MB, free: 23.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.002186, allocations: 11.98 kB / 447.4 MB, free: 23.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.169e-05/0.002208, allocations: 0.9375 kB / 447.4 MB, free: 23.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.673e-05/0.002265, allocations: 109.7 kB / 447.5 MB, free: 23.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.002276, allocations: 384 / 447.5 MB, free: 23.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.002286, allocations: 384 / 447.5 MB, free: 23.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.806e-05/0.002364, allocations: 51.97 kB / 447.6 MB, free: 23.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.002373, allocations: 192 / 447.6 MB, free: 23.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.002381, allocations: 4.375 kB / 447.6 MB, free: 23.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.002384, allocations: 384 / 447.6 MB, free: 23.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.838e-05/0.002412, allocations: 11.86 kB / 447.6 MB, free: 23.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.002792, allocations: 146.1 kB / 447.7 MB, free: 23.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.635e-05/0.002839, allocations: 43.38 kB / 447.8 MB, free: 23.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.002855, allocations: 9.719 kB / 447.8 MB, free: 23.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.002863, allocations: 8 kB / 447.8 MB, free: 23.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.002875, allocations: 38.5 kB / 447.8 MB, free: 23.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.002876, allocations: 0 / 447.8 MB, free: 23.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001167/0.002993, allocations: 45.62 kB / 447.9 MB, free: 23.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.003014, allocations: 81.11 kB / 447.9 MB, free: 23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.274e-05/0.003057, allocations: 97.8 kB / 448 MB, free: 22.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.003063, allocations: 26.08 kB / 448.1 MB, free: 22.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.169e-05/0.003075, allocations: 84.14 kB / 448.1 MB, free: 22.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.003095, allocations: 3.953 kB / 448.1 MB, free: 22.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.003118, allocations: 25.64 kB / 448.2 MB, free: 22.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 3.712e-05/0.003156, allocations: 310.8 kB / 448.5 MB, free: 22.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.003166, allocations: 4 kB / 448.5 MB, free: 22.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.003176, allocations: 9.719 kB / 448.5 MB, free: 22.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.003201, allocations: 25.66 kB / 448.5 MB, free: 22.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.003202, allocations: 0 / 448.5 MB, free: 22.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.842e-05/0.003251, allocations: 45.75 kB / 448.6 MB, free: 22.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.00326, allocations: 8 kB / 448.6 MB, free: 22.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.003264, allocations: 0 / 448.6 MB, free: 22.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.003277, allocations: 0 / 448.6 MB, free: 22.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.003467, allocations: 23.98 kB / 448.6 MB, free: 22.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008419/0.004309, allocations: 2.478 MB / 451.1 MB, free: 19.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.00433, allocations: 4 kB / 451.1 MB, free: 19.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.004336, allocations: 4.031 kB / 451.1 MB, free: 19.61 MB / 334.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 4.559e-05/0.004381, allocations: 110.4 kB / 451.2 MB, free: 19.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-06/0.004389, allocations: 256 / 451.2 MB, free: 19.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.079e-05/0.0044, allocations: 15.14 kB / 451.2 MB, free: 19.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.004401, allocations: 3.984 kB / 451.2 MB, free: 19.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.91e-07/0.004402, allocations: 0 / 451.2 MB, free: 19.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.004405, allocations: 0 / 451.2 MB, free: 19.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.004667, allocations: 141.2 kB / 451.3 MB, free: 19.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.004668, allocations: 0 / 451.3 MB, free: 19.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.004829, allocations: 31.92 kB / 451.4 MB, free: 19.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.004831, allocations: 0 / 451.4 MB, free: 19.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.004836, allocations: 0 / 451.4 MB, free: 19.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007668/0.005603, allocations: 2.466 MB / 453.8 MB, free: 16.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005604, allocations: 0 / 453.8 MB, free: 16.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.753e-05/0.005651, allocations: 81.83 kB / 453.9 MB, free: 16.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.005656, allocations: 4 kB / 453.9 MB, free: 16.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-06/0.005662, allocations: 4 kB / 453.9 MB, free: 16.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.005682, allocations: 0 / 453.9 MB, free: 16.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.005703, allocations: 0 / 453.9 MB, free: 16.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.005706, allocations: 4 kB / 453.9 MB, free: 16.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 1.616e-05/0.005722, allocations: 83.39 kB / 454 MB, free: 16.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.005722, allocations: 0 / 454 MB, free: 16.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002058/0.005928, allocations: 8 kB / 454 MB, free: 16.4 MB / 334.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 5.825e-05/0.005986, allocations: 93.89 kB / 454.1 MB, free: 16.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004546/0.006441, allocations: 43.89 kB / 454.1 MB, free: 16.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.006448, allocations: 224 / 454.1 MB, free: 16.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.006782, allocations: 35.95 kB / 454.2 MB, free: 16.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.006923, allocations: 7.938 kB / 454.2 MB, free: 16.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.007116, allocations: 121.6 kB / 454.3 MB, free: 16.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.981e-05/0.007146, allocations: 67.22 kB / 454.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.441e-05/0.007221, allocations: 16 kB / 454.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.007279, allocations: 20.47 kB / 454.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.007279, allocations: 0 / 454.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Templates: time 0.002655/0.009934, allocations: 0.8384 MB / 455.2 MB, free: 15.12 MB / 334.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.178223006427288] Failed to read output from testmodel.py, exit status != 0: 0.015485350042581558 0.025192182 0.021300242 Calling exit ...