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.0008501/0.0008501, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.9365/0.9365, allocations: 177.2 MB / 200.3 MB, free: 4.879 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.001596/0.001596, allocations: 166.5 kB / 257 MB, free: 12.67 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.0418/0.0418, allocations: 6.653 MB / 266.9 MB, free: 2.918 MB / 250.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 2.685e-06/2.685e-06, allocations: 4 kB / 285.6 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.651e-05, allocations: 2.312 kB / 285.6 MB, free: 216 kB / 266.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.1039/0.1039, allocations: 0.5034 MB / 286.1 MB, free: 22.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004422/0.1044, allocations: 302.4 kB / 286.4 MB, free: 22.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.1044, allocations: 1.219 kB / 286.4 MB, free: 22.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.1045, allocations: 0.7969 kB / 286.4 MB, free: 22.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.1048, allocations: 73.53 kB / 286.5 MB, free: 22.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.191e-05/0.1048, allocations: 15.38 kB / 286.5 MB, free: 22.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.446e-05/0.1049, allocations: 26.98 kB / 286.5 MB, free: 22.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.003e-05/0.105, allocations: 3.797 kB / 286.5 MB, free: 22.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.105, allocations: 16.98 kB / 286.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.1052, allocations: 59.08 kB / 286.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1052, allocations: 1.812 kB / 286.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.1052, allocations: 2.156 kB / 286.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.1053, allocations: 19.25 kB / 286.6 MB, free: 22.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.1053, allocations: 10.62 kB / 286.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.186e-05/0.1054, allocations: 28.02 kB / 286.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1054, allocations: 2.438 kB / 286.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1054, allocations: 0 / 286.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1054, allocations: 0.6562 kB / 286.7 MB, free: 22.25 MB / 266.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.0002786/0.1057, allocations: 291.4 kB / 287 MB, free: 21.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.1057, allocations: 10.5 kB / 287 MB, free: 21.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1057, allocations: 84.61 kB / 287.1 MB, free: 21.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.029e-05/0.1058, allocations: 191.7 kB / 287.2 MB, free: 21.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1058, allocations: 155.1 kB / 287.4 MB, free: 21.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1059, allocations: 160 kB / 287.6 MB, free: 21.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.901e-05/0.1059, allocations: 103.2 kB / 287.7 MB, free: 21.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1059, allocations: 77.81 kB / 287.7 MB, free: 21.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1059, allocations: 152.6 kB / 287.9 MB, free: 21.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.1059, allocations: 152.1 kB / 288 MB, free: 20.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.357e-05/0.1059, allocations: 157.2 kB / 288.2 MB, free: 20.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.877e-05/0.106, allocations: 356.7 kB / 288.5 MB, free: 20.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.266e-05/0.1061, allocations: 177.8 kB / 288.7 MB, free: 20.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-06/0.1061, allocations: 81.23 kB / 288.8 MB, free: 20.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.493e-06/0.1061, allocations: 76.69 kB / 288.9 MB, free: 20.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.1061, allocations: 112 kB / 289 MB, free: 19.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.1061, allocations: 2.469 kB / 289 MB, free: 19.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.077e-05/0.1061, allocations: 34.88 kB / 289 MB, free: 19.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.1062, allocations: 127.8 kB / 289.1 MB, free: 19.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.1062, allocations: 142.9 kB / 289.3 MB, free: 19.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.1062, allocations: 27.95 kB / 289.3 MB, free: 19.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.1063, allocations: 89.56 kB / 289.4 MB, free: 19.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.153e-06/0.1063, allocations: 0.6562 kB / 289.4 MB, free: 19.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.1063, allocations: 27.58 kB / 289.4 MB, free: 19.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.675e-05/0.1063, allocations: 323.6 kB / 289.7 MB, free: 19.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.1063, allocations: 32.88 kB / 289.8 MB, free: 19.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.1064, allocations: 78.47 kB / 289.8 MB, free: 19.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.1064, allocations: 84.84 kB / 289.9 MB, free: 19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1064, allocations: 3.938 kB / 289.9 MB, free: 18.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001958/0.1066, allocations: 157.2 kB / 290.1 MB, free: 18.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1066, allocations: 34.08 kB / 290.1 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1066, allocations: 2.062 kB / 290.1 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/0.1067, allocations: 37.89 kB / 290.1 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1069, allocations: 30.7 kB / 290.2 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.1081, allocations: 4.77 MB / 294.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.1081, allocations: 6.562 kB / 295 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1081, allocations: 4.297 kB / 295 MB, free: 14.03 MB / 266.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.565e-05/0.1081, allocations: 195.3 kB / 295.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.1082, allocations: 110.6 kB / 295.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.1082, allocations: 115.3 kB / 295.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.1082, allocations: 183.4 kB / 295.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.1082, allocations: 182.1 kB / 295.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.1082, allocations: 179.1 kB / 295.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.407e-05/0.1083, allocations: 324.2 kB / 296.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.1083, allocations: 113.6 kB / 296.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-06/0.1083, allocations: 105.4 kB / 296.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.1083, allocations: 182.1 kB / 296.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1083, allocations: 179 kB / 296.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.1084, allocations: 181.7 kB / 297 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/0.1084, allocations: 183 kB / 297.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.938e-05/0.1084, allocations: 307 kB / 297.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.1084, allocations: 110 kB / 297.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1085, allocations: 185.7 kB / 297.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.969e-05/0.1085, allocations: 105.8 kB / 297.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.1085, allocations: 188.7 kB / 298 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1085, allocations: 106.8 kB / 298.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.388e-05/0.1085, allocations: 27.16 kB / 298.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1085, allocations: 0 / 298.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.1087, allocations: 9.781 kB / 298.2 MB, free: 10.77 MB / 266.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 7.137e-05/0.1088, allocations: 153.6 kB / 298.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.1091, allocations: 367.5 kB / 298.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1091, allocations: 5.062 kB / 298.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1091, allocations: 4.188 kB / 298.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.1092, allocations: 459.4 kB / 299.1 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001655/0.1094, allocations: 222 kB / 299.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.167e-05/0.1094, allocations: 60.81 kB / 299.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.856e-05/0.1094, allocations: 6 kB / 299.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.1094, allocations: 52.58 kB / 299.5 MB, free: 9.508 MB / 266.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1094, allocations: 0 / 299.5 MB, free: 9.508 MB / 266.7 MB Notification: Performance of Templates: time 0.002328/0.1118, allocations: 0.883 MB / 300.3 MB, free: 9.438 MB / 266.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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5940211648121476]