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.001047/0.001047, allocations: 73.88 kB / 20.65 MB, free: 3.848 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 1.031/1.031, allocations: 177.2 MB / 201 MB, free: 5.688 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.001682/0.001682, allocations: 156.5 kB / 257.7 MB, free: 12.96 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.03146/0.03146, allocations: 6.653 MB / 320.9 MB, free: 26.36 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 1.633e-06/1.633e-06, allocations: 0 / 392.9 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.559e-05, allocations: 5.969 kB / 392.9 MB, free: 2.285 MB / 314.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.001876/0.001901, allocations: 0.5206 MB / 393.4 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006255/0.002527, allocations: 296.1 kB / 393.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.002568, allocations: 0 / 393.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.15e-05/0.00262, allocations: 3.938 kB / 393.7 MB, free: 1.469 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004616/0.003081, allocations: 71.67 kB / 393.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.785e-05/0.003139, allocations: 7.984 kB / 393.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.00326, allocations: 31.89 kB / 393.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.003297, allocations: 4 kB / 393.8 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.139e-05/0.003368, allocations: 15.98 kB / 393.8 MB, free: 1.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.003624, allocations: 67.8 kB / 393.9 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.003641, allocations: 4 kB / 393.9 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.003652, allocations: 0 / 393.9 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.0037, allocations: 15.97 kB / 393.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.003731, allocations: 7.938 kB / 393.9 MB, free: 1.246 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.61e-05/0.003817, allocations: 35.84 kB / 393.9 MB, free: 1.211 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003819, allocations: 0 / 393.9 MB, free: 1.211 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003819, allocations: 0 / 393.9 MB, free: 1.211 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.003822, allocations: 4 kB / 393.9 MB, free: 1.207 MB / 314.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.0004232/0.004245, allocations: 414.2 kB / 394.3 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.004282, allocations: 8.031 kB / 394.3 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.004348, allocations: 132 kB / 394.5 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.004514, allocations: 246.3 kB / 394.7 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.219e-05/0.004596, allocations: 242.8 kB / 395 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.004684, allocations: 242.8 kB / 395.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.588e-05/0.00475, allocations: 149.5 kB / 395.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.004787, allocations: 119.4 kB / 395.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.535e-05/0.004853, allocations: 242.8 kB / 395.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.886e-05/0.004922, allocations: 238.8 kB / 395.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.134e-05/0.004993, allocations: 250.2 kB / 396.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.005285, allocations: 0.5647 MB / 396.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.008181, allocations: 269.5 kB / 397 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.008222, allocations: 126.9 kB / 397.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.00825, allocations: 123.2 kB / 397.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.008296, allocations: 156.6 kB / 397.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.008298, allocations: 0 / 397.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.579e-05/0.008374, allocations: 37.59 kB / 397.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.008426, allocations: 174.6 kB / 397.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.008556, allocations: 205.8 kB / 397.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.008569, allocations: 25.7 kB / 397.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.008618, allocations: 146.8 kB / 398 MB, free: 12.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.008619, allocations: 0 / 398 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.008658, allocations: 31.38 kB / 398 MB, free: 12.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.008776, allocations: 0.4922 MB / 398.5 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.00881, allocations: 33.7 kB / 398.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.008856, allocations: 91.8 kB / 398.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.889e-05/0.008935, allocations: 103.7 kB / 398.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.008938, allocations: 3.938 kB / 398.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003111/0.009249, allocations: 172.2 kB / 398.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.009283, allocations: 37.89 kB / 398.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.009293, allocations: 3.938 kB / 398.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.009437, allocations: 51.27 kB / 399 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.009574, allocations: 23.98 kB / 399 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.01219, allocations: 6.993 MB / 406 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.01223, allocations: 11.95 kB / 406 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.01224, allocations: 8 kB / 406 MB, free: 4.348 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 0.0001052/0.01235, allocations: 287.9 kB / 406.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.0124, allocations: 156.8 kB / 406.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.01245, allocations: 156.7 kB / 406.6 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.027e-05/0.01251, allocations: 264.1 kB / 406.9 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-05/0.01257, allocations: 276 kB / 407.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-05/0.01263, allocations: 264.1 kB / 407.4 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.0128, allocations: 0.4887 MB / 407.9 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.168e-05/0.01283, allocations: 144.9 kB / 408 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.01286, allocations: 144.9 kB / 408.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.35e-05/0.01293, allocations: 276.1 kB / 408.4 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/0.01299, allocations: 268.1 kB / 408.7 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-05/0.01305, allocations: 272 kB / 409 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.857e-05/0.01311, allocations: 272.1 kB / 409.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.01322, allocations: 447.9 kB / 409.7 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.01326, allocations: 156.8 kB / 409.8 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.01332, allocations: 276 kB / 410.1 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1154/0.1288, allocations: 144.9 kB / 410.2 MB, free: 82.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.1288, allocations: 266 kB / 410.5 MB, free: 82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.1288, allocations: 147.5 kB / 410.6 MB, free: 81.85 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.529e-05/0.1288, allocations: 142.2 kB / 410.8 MB, free: 81.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1288, allocations: 0 / 410.8 MB, free: 81.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.1291, allocations: 11 kB / 410.8 MB, free: 81.73 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 6.888e-05/0.1291, allocations: 213.5 kB / 411 MB, free: 81.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004556/0.1296, allocations: 482.6 kB / 411.5 MB, free: 81.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1296, allocations: 2.312 kB / 411.5 MB, free: 81.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.1296, allocations: 0 / 411.5 MB, free: 81.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.1298, allocations: 0.7066 MB / 412.2 MB, free: 80.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001892/0.13, allocations: 272 kB / 412.4 MB, free: 80.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.344e-05/0.13, allocations: 60.22 kB / 412.5 MB, free: 80.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.966e-05/0.13, allocations: 5.547 kB / 412.5 MB, free: 80.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.13, allocations: 73.5 kB / 412.6 MB, free: 80 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.13, allocations: 0 / 412.6 MB, free: 80 MB / 330.7 MB Notification: Performance of Templates: time 0.002392/0.1324, allocations: 0.8813 MB / 413.4 MB, free: 79.97 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0313441334292293]