Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.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.0007405/0.0007405, allocations: 80.48 kB / 19.93 MB, free: 4.633 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 0.8729/0.8729, allocations: 177.1 MB / 200.2 MB, free: 5.922 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.0009783/0.0009783, allocations: 156.5 kB / 256.7 MB, free: 13.33 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.0214/0.0214, allocations: 6.665 MB / 319.8 MB, free: 26.77 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.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") translateModel(HanserModelica.VariablesTypes.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 446.6 MB, free: 37.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.333e-05, allocations: 10.22 kB / 446.6 MB, free: 37.15 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/VariablesTypes/InitializationParameters.mo:5:3-5:28:writable] Warning: Parameter b has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.000826/0.0008393, allocations: 0.5074 MB / 447.1 MB, free: 36.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003524/0.001192, allocations: 299.1 kB / 447.4 MB, free: 36.35 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.001219, allocations: 0 / 447.4 MB, free: 36.35 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.001259, allocations: 7.922 kB / 447.4 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.001597, allocations: 71.73 kB / 447.5 MB, free: 36.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.094e-05/0.001638, allocations: 11.98 kB / 447.5 MB, free: 36.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.556e-05/0.001723, allocations: 27.86 kB / 447.6 MB, free: 36.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.072e-05/0.001754, allocations: 0 / 447.6 MB, free: 36.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.544e-05/0.001809, allocations: 19.97 kB / 447.6 MB, free: 36.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.002011, allocations: 59.86 kB / 447.6 MB, free: 36.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.002024, allocations: 3.938 kB / 447.6 MB, free: 36.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-06/0.002032, allocations: 4 kB / 447.6 MB, free: 36.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.002068, allocations: 15.98 kB / 447.7 MB, free: 36.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.002091, allocations: 11.94 kB / 447.7 MB, free: 36.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.078e-05/0.002152, allocations: 27.89 kB / 447.7 MB, free: 36.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002154, allocations: 4 kB / 447.7 MB, free: 36.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002155, allocations: 0 / 447.7 MB, free: 36.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.002158, allocations: 0 / 447.7 MB, free: 36.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002945/0.002453, allocations: 323.7 kB / 448 MB, free: 35.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.00248, allocations: 8.031 kB / 448 MB, free: 35.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.002517, allocations: 88.17 kB / 448.1 MB, free: 35.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.734e-05/0.002604, allocations: 197 kB / 448.3 MB, free: 35.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.002621, allocations: 158.9 kB / 448.5 MB, free: 35.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.002636, allocations: 150.9 kB / 448.6 MB, free: 35.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.963e-05/0.002665, allocations: 105.5 kB / 448.7 MB, free: 35.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.002673, allocations: 75.47 kB / 448.8 MB, free: 34.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.002684, allocations: 150.9 kB / 448.9 MB, free: 34.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.002693, allocations: 150.9 kB / 449.1 MB, free: 34.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.219e-05/0.002705, allocations: 162.4 kB / 449.2 MB, free: 34.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.00283, allocations: 417.6 kB / 449.6 MB, free: 34.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.297e-05/0.002863, allocations: 177.1 kB / 449.8 MB, free: 33.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.042e-05/0.002873, allocations: 80.14 kB / 449.9 MB, free: 33.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.002882, allocations: 75.28 kB / 450 MB, free: 33.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.0029, allocations: 109.8 kB / 450.1 MB, free: 33.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.0029, allocations: 0 / 450.1 MB, free: 33.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.972e-05/0.00295, allocations: 37.59 kB / 450.1 MB, free: 33.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.002971, allocations: 126.7 kB / 450.2 MB, free: 33.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.003059, allocations: 156.7 kB / 450.4 MB, free: 33.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.651e-06/0.003064, allocations: 25.7 kB / 450.4 MB, free: 33.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.003088, allocations: 92.09 kB / 450.5 MB, free: 33.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.00309, allocations: 0 / 450.5 MB, free: 33.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.003116, allocations: 29.7 kB / 450.5 MB, free: 33.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.437e-05/0.003141, allocations: 318.8 kB / 450.8 MB, free: 32.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.003168, allocations: 37.69 kB / 450.9 MB, free: 32.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.0032, allocations: 94.86 kB / 451 MB, free: 32.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.306e-05/0.003253, allocations: 94.72 kB / 451.1 MB, free: 32.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.003256, allocations: 0 / 451.1 MB, free: 32.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002536/0.003509, allocations: 202.6 kB / 451.3 MB, free: 32.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.003527, allocations: 29.7 kB / 451.3 MB, free: 32.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.003531, allocations: 4 kB / 451.3 MB, free: 32.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/0.003652, allocations: 45.62 kB / 451.3 MB, free: 32.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.003788, allocations: 32.17 kB / 451.4 MB, free: 32.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.005012, allocations: 5.059 MB / 456.4 MB, free: 26.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/0.005043, allocations: 19.86 kB / 456.4 MB, free: 26.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.00505, allocations: 8.406 kB / 456.5 MB, free: 26.64 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.005098, allocations: 207.7 kB / 456.7 MB, free: 26.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.005115, allocations: 101 kB / 456.8 MB, free: 26.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.239e-05/0.005127, allocations: 120.5 kB / 456.9 MB, free: 26.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.005137, allocations: 176.3 kB / 457 MB, free: 26.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.005147, allocations: 188.2 kB / 457.2 MB, free: 25.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.005157, allocations: 180.2 kB / 457.4 MB, free: 25.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.267e-05/0.00522, allocations: 368.9 kB / 457.8 MB, free: 25.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.005228, allocations: 108.9 kB / 457.9 MB, free: 25.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-06/0.005234, allocations: 105 kB / 458 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.005245, allocations: 184.2 kB / 458.2 MB, free: 24.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.005258, allocations: 180.2 kB / 458.3 MB, free: 24.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.005269, allocations: 176.5 kB / 458.5 MB, free: 24.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/0.005279, allocations: 184.2 kB / 458.7 MB, free: 24.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.202e-05/0.005311, allocations: 315.7 kB / 459 MB, free: 23.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.005328, allocations: 112.9 kB / 459.1 MB, free: 23.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.005341, allocations: 180.3 kB / 459.3 MB, free: 23.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.756e-05/0.005368, allocations: 104.9 kB / 459.4 MB, free: 23.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.005384, allocations: 188.2 kB / 459.6 MB, free: 23.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.005391, allocations: 105 kB / 459.7 MB, free: 23.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.981e-05/0.00542, allocations: 113.9 kB / 459.8 MB, free: 23.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00542, allocations: 0 / 459.8 MB, free: 23.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.005589, allocations: 12 kB / 459.8 MB, free: 23.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.392e-05/0.005643, allocations: 174.5 kB / 460 MB, free: 22.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.005933, allocations: 362.7 kB / 460.3 MB, free: 22.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.005935, allocations: 4.062 kB / 460.3 MB, free: 22.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.005936, allocations: 0 / 460.3 MB, free: 22.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.006099, allocations: 455.7 kB / 460.8 MB, free: 22.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001788/0.006278, allocations: 253.6 kB / 461 MB, free: 21.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.127e-05/0.006309, allocations: 79.23 kB / 461.1 MB, free: 21.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.006322, allocations: 8.5 kB / 461.1 MB, free: 21.7 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006322, allocations: 0 / 461.1 MB, free: 21.7 MB / 330.7 MB Notification: Performance of Templates: time 0.001569/0.007891, allocations: 1.143 MB / 462.2 MB, free: 20.56 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.sim & ./HanserModelica_HanserModelica.VariablesTypes.InitializationParameters -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.477939264848828] Failed to read output from testmodel.py, exit status != 0: 0.011431753635406494 0.017593605000000002 0.013932904000000001 Calling exit ...