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.001377/0.001377, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.522/1.522, allocations: 177.2 MB / 200.1 MB, free: 9.02 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.001828/0.001828, allocations: 157.4 kB / 256.6 MB, free: 0.7461 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.03763/0.03763, allocations: 6.666 MB / 319.6 MB, free: 48.47 MB / 286.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.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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002583/0.002583, allocations: 87.88 kB / 446.4 MB, free: 1.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3122, allocations: 55.57 MB / 0.4902 GB, free: 25.98 MB / 366.1 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.002246/0.3144, allocations: 0.5027 MB / 0.4907 GB, free: 25.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007083/0.3151, allocations: 303 kB / 0.491 GB, free: 25.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.3152, allocations: 0 / 0.491 GB, free: 25.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.107e-05/0.3152, allocations: 3.938 kB / 0.491 GB, free: 25.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.3157, allocations: 71.8 kB / 0.4911 GB, free: 25.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.564e-05/0.3158, allocations: 11.92 kB / 0.4911 GB, free: 25.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3159, allocations: 23.92 kB / 0.4911 GB, free: 25.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.316, allocations: 3.984 kB / 0.4911 GB, free: 25.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.316, allocations: 19.92 kB / 0.4911 GB, free: 25.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.3163, allocations: 59.86 kB / 0.4912 GB, free: 24.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3164, allocations: 4 kB / 0.4912 GB, free: 24.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.3164, allocations: 4 kB / 0.4912 GB, free: 24.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.3164, allocations: 11.98 kB / 0.4912 GB, free: 24.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.3165, allocations: 19.86 kB / 0.4912 GB, free: 24.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.144e-05/0.3165, allocations: 27.58 kB / 0.4913 GB, free: 24.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3165, allocations: 0 / 0.4913 GB, free: 24.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3166, allocations: 3.938 kB / 0.4913 GB, free: 24.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3166, allocations: 0 / 0.4913 GB, free: 24.92 MB / 366.1 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.0004145/0.317, allocations: 314.3 kB / 0.4916 GB, free: 24.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.317, allocations: 16.03 kB / 0.4916 GB, free: 24.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.3171, allocations: 84.17 kB / 0.4917 GB, free: 24.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3172, allocations: 201.7 kB / 0.4918 GB, free: 24.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.3172, allocations: 150.9 kB / 0.492 GB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.3173, allocations: 162.9 kB / 0.4921 GB, free: 23.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.012e-05/0.3173, allocations: 101.5 kB / 0.4922 GB, free: 23.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3174, allocations: 79.47 kB / 0.4923 GB, free: 23.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.3174, allocations: 154.5 kB / 0.4925 GB, free: 23.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.3174, allocations: 150.6 kB / 0.4926 GB, free: 23.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.3175, allocations: 158.5 kB / 0.4928 GB, free: 23.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.3177, allocations: 417.6 kB / 0.4932 GB, free: 22.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.627e-05/0.3177, allocations: 177.1 kB / 0.4933 GB, free: 22.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.3177, allocations: 84.14 kB / 0.4934 GB, free: 22.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.3178, allocations: 75.28 kB / 0.4935 GB, free: 22.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3178, allocations: 105.8 kB / 0.4936 GB, free: 22.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3178, allocations: 0 / 0.4936 GB, free: 22.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.119e-05/0.3179, allocations: 37.59 kB / 0.4936 GB, free: 22.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.3179, allocations: 130.6 kB / 0.4937 GB, free: 22.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.318, allocations: 148.3 kB / 0.4939 GB, free: 22.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.318, allocations: 33.7 kB / 0.4939 GB, free: 22.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.3181, allocations: 88.09 kB / 0.494 GB, free: 21.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.3181, allocations: 4 kB / 0.494 GB, free: 21.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.3181, allocations: 29.7 kB / 0.494 GB, free: 21.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.3182, allocations: 314.8 kB / 0.4943 GB, free: 21.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.3183, allocations: 41.69 kB / 0.4944 GB, free: 21.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.859e-05/0.3183, allocations: 82.84 kB / 0.4944 GB, free: 21.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.272e-05/0.3184, allocations: 90.78 kB / 0.4945 GB, free: 21.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3184, allocations: 4 kB / 0.4945 GB, free: 21.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004415/0.3189, allocations: 202.5 kB / 0.4947 GB, free: 21.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.3189, allocations: 37.64 kB / 0.4948 GB, free: 21.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3189, allocations: 0 / 0.4948 GB, free: 21.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.3191, allocations: 45.69 kB / 0.4948 GB, free: 21.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.3193, allocations: 28.17 kB / 0.4948 GB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.322, allocations: 5.082 MB / 0.4998 GB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.3221, allocations: 8.422 kB / 0.4998 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3221, allocations: 4 kB / 0.4998 GB, free: 15.48 MB / 366.1 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 8.86e-05/0.3222, allocations: 205.9 kB / 0.5 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.3222, allocations: 116.9 kB / 0.5001 GB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.3223, allocations: 112.6 kB / 0.5002 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/0.3223, allocations: 184.2 kB / 0.5004 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.004e-05/0.3223, allocations: 180.3 kB / 0.5006 GB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.22e-05/0.3223, allocations: 184.2 kB / 0.5008 GB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.3225, allocations: 360.9 kB / 0.5011 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.3225, allocations: 105 kB / 0.5012 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.3225, allocations: 112.9 kB / 0.5013 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.97e-05/0.3225, allocations: 176.3 kB / 0.5015 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.3226, allocations: 196.1 kB / 0.5017 GB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.697e-05/0.3226, allocations: 176.4 kB / 0.5018 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.62e-05/0.3226, allocations: 176.3 kB / 0.502 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.017e-05/0.3227, allocations: 311.8 kB / 0.5023 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.3227, allocations: 113.1 kB / 0.5024 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.3228, allocations: 184.1 kB / 0.5026 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.913e-05/0.3228, allocations: 117 kB / 0.5027 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.3228, allocations: 180.2 kB / 0.5029 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3229, allocations: 105 kB / 0.503 GB, free: 12.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.459e-05/0.3229, allocations: 118.1 kB / 0.5031 GB, free: 11.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3229, allocations: 0 / 0.5031 GB, free: 11.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.3232, allocations: 12 kB / 0.5031 GB, free: 11.94 MB / 366.1 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 7.628e-05/0.3232, allocations: 166.5 kB / 0.5032 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006419/0.3239, allocations: 370.5 kB / 0.5036 GB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3239, allocations: 0 / 0.5036 GB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.3239, allocations: 7.938 kB / 0.5036 GB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.3241, allocations: 459.6 kB / 0.504 GB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.3244, allocations: 235.9 kB / 0.5043 GB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.154e-05/0.3244, allocations: 71.52 kB / 0.5043 GB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.219e-05/0.3244, allocations: 7.984 kB / 0.5043 GB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.3245, allocations: 12.5 kB / 0.5044 GB, free: 10.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3245, allocations: 0 / 0.5044 GB, free: 10.54 MB / 366.1 MB Notification: Performance of Templates: time 0.003564/0.328, allocations: 0.8022 MB / 0.5051 GB, free: 9.742 MB / 366.1 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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.090773288044147] Failed to read output from testmodel.py, exit status != 0: 0.3364360210252926 0.346703422 0.027115648000000003 Calling exit ...