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.001305/0.001305, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002824/0.004129, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.115/1.115, allocations: 177.2 MB / 188.4 MB, free: 4.41 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.247/1.362, allocations: 53.65 MB / 242 MB, free: 2.633 MB / 234.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.001063/0.001063, allocations: 155.8 kB / 242.9 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00163/0.002693, allocations: 486.6 kB / 243.4 MB, free: 1.289 MB / 234.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.02516/0.02516, allocations: 6.654 MB / 250.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006582/0.03175, allocations: 2.664 MB / 253.5 MB, free: 7.426 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.014e-06/2.014e-06, allocations: 0 / 254.7 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.416e-05, allocations: 9.125 kB / 254.7 MB, free: 6.145 MB / 250.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.001798/0.001832, allocations: 0.5714 MB / 255.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004435/0.002275, allocations: 300 kB / 255.6 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.002315, allocations: 0 / 255.6 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.002353, allocations: 0 / 255.6 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.002786, allocations: 71.67 kB / 255.7 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.385e-05/0.00285, allocations: 7.984 kB / 255.7 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.002985, allocations: 27.86 kB / 255.7 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.00303, allocations: 7.984 kB / 255.7 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.003128, allocations: 19.97 kB / 255.7 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.003412, allocations: 55.89 kB / 255.8 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.003433, allocations: 0 / 255.8 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.003449, allocations: 4 kB / 255.8 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.00352, allocations: 15.92 kB / 255.8 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.003561, allocations: 7.938 kB / 255.8 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003677, allocations: 27.86 kB / 255.8 MB, free: 5.035 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.00369, allocations: 0 / 255.8 MB, free: 5.035 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.003691, allocations: 4 kB / 255.8 MB, free: 5.031 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.003703, allocations: 0 / 255.8 MB, free: 5.031 MB / 250.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.0004687/0.004171, allocations: 310.1 kB / 256.1 MB, free: 4.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.004217, allocations: 8.031 kB / 256.2 MB, free: 4.688 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.004278, allocations: 84.2 kB / 256.2 MB, free: 4.605 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.004457, allocations: 193 kB / 256.4 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/0.004516, allocations: 158.9 kB / 256.6 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.671e-05/0.004583, allocations: 154.9 kB / 256.7 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.882e-05/0.004661, allocations: 101.5 kB / 256.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.004691, allocations: 79.47 kB / 256.9 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.00474, allocations: 150.9 kB / 257.1 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-05/0.004802, allocations: 158.9 kB / 257.2 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.701e-05/0.004859, allocations: 158.5 kB / 257.4 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.005061, allocations: 357.3 kB / 257.7 MB, free: 3.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.732e-05/0.005148, allocations: 173.1 kB / 257.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.005177, allocations: 80.14 kB / 258 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.005204, allocations: 79.22 kB / 258 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.005244, allocations: 105.8 kB / 258.1 MB, free: 2.621 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.005245, allocations: 0 / 258.1 MB, free: 2.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 8.297e-05/0.005328, allocations: 41.62 kB / 258.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.005381, allocations: 130.7 kB / 258.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.005501, allocations: 142.5 kB / 258.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.005517, allocations: 25.7 kB / 258.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.005567, allocations: 84.12 kB / 258.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-06/0.005569, allocations: 0 / 258.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.005609, allocations: 33.69 kB / 258.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.005712, allocations: 318.8 kB / 258.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.005755, allocations: 33.69 kB / 258.9 MB, free: 1.766 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.005817, allocations: 74.8 kB / 259 MB, free: 1.668 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.005909, allocations: 82.77 kB / 259.1 MB, free: 1.562 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.005913, allocations: 4 kB / 259.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003211/0.006234, allocations: 158.7 kB / 259.2 MB, free: 1.379 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.00628, allocations: 33.7 kB / 259.3 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.006287, allocations: 0 / 259.3 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.006449, allocations: 41.62 kB / 259.3 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.006621, allocations: 31.98 kB / 259.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.009347, allocations: 4.763 MB / 264.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.009394, allocations: 7.938 kB / 264.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.009405, allocations: 4 kB / 264.1 MB, free: 12.12 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 0.0001068/0.009512, allocations: 204.1 kB / 264.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.009559, allocations: 115.8 kB / 264.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.009598, allocations: 108.6 kB / 264.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.676e-05/0.009645, allocations: 184.2 kB / 264.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.712e-05/0.009692, allocations: 180.3 kB / 264.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.737e-05/0.00974, allocations: 188.2 kB / 265.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.009883, allocations: 325.4 kB / 265.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/0.009911, allocations: 101 kB / 265.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.009946, allocations: 112.9 kB / 265.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.009996, allocations: 108.9 kB / 265.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.873e-05/0.01005, allocations: 180.2 kB / 265.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/0.01011, allocations: 184.2 kB / 266.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.817e-05/0.01017, allocations: 180.3 kB / 266.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.208e-05/0.01022, allocations: 188.2 kB / 266.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.01034, allocations: 304 kB / 266.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.0104, allocations: 180.2 kB / 266.9 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.01045, allocations: 112.9 kB / 267 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.01051, allocations: 184.2 kB / 267.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.01054, allocations: 101 kB / 267.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.56e-05/0.01058, allocations: 31.17 kB / 267.3 MB, free: 8.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01058, allocations: 0 / 267.3 MB, free: 8.746 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.01075, allocations: 12 kB / 267.3 MB, free: 8.734 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 0.0001211/0.01087, allocations: 151.7 kB / 267.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000506/0.01138, allocations: 375.9 kB / 267.9 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.01139, allocations: 4.562 kB / 267.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.125e-06/0.01139, allocations: 0 / 267.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.01164, allocations: 467.6 kB / 268.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.01195, allocations: 226.3 kB / 268.5 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.007e-05/0.01199, allocations: 59.34 kB / 268.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.034e-05/0.01202, allocations: 8 kB / 268.6 MB, free: 7.355 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.01209, allocations: 55.36 kB / 268.7 MB, free: 7.301 MB / 266.7 MB Notification: Performance of SimCode: time 1.583e-06/0.01209, allocations: 0 / 268.7 MB, free: 7.301 MB / 266.7 MB Notification: Performance of Templates: time 0.003366/0.01546, allocations: 0.8872 MB / 269.5 MB, free: 6.43 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.8577228290960193]