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.001142/0.001142, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.034/1.034, allocations: 177.1 MB / 200.3 MB, free: 4.871 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.001404/0.001404, allocations: 159.5 kB / 256.9 MB, free: 12.66 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.0271/0.0271, allocations: 6.649 MB / 320.1 MB, free: 11.42 MB / 298.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.846e-06/2.846e-06, allocations: 3.984 kB / 392.1 MB, free: 3.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.162e-05, allocations: 5.266 kB / 392.1 MB, free: 3.336 MB / 362.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.001037/0.001059, allocations: 0.509 MB / 392.6 MB, free: 2.828 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005017/0.00156, allocations: 292 kB / 392.9 MB, free: 2.539 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.001596, allocations: 4 kB / 392.9 MB, free: 2.535 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.001641, allocations: 0 / 392.9 MB, free: 2.535 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003988/0.00204, allocations: 67.73 kB / 392.9 MB, free: 2.469 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.046e-05/0.00209, allocations: 19.91 kB / 393 MB, free: 2.449 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.002201, allocations: 31.86 kB / 393 MB, free: 2.418 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.002236, allocations: 7.984 kB / 393 MB, free: 2.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.56e-05/0.002302, allocations: 11.98 kB / 393 MB, free: 2.398 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.002547, allocations: 71.78 kB / 393.1 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.002561, allocations: 0 / 393.1 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.002572, allocations: 4 kB / 393.1 MB, free: 2.324 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.002609, allocations: 12 kB / 393.1 MB, free: 2.312 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.002633, allocations: 11.92 kB / 393.1 MB, free: 2.301 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 7.321e-05/0.002706, allocations: 27.91 kB / 393.1 MB, free: 2.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002708, allocations: 0 / 393.1 MB, free: 2.273 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.002708, allocations: 0 / 393.1 MB, free: 2.273 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.002711, allocations: 0 / 393.1 MB, free: 2.273 MB / 362.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.0003699/0.003081, allocations: 426 kB / 393.6 MB, free: 1.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.003119, allocations: 8.031 kB / 393.6 MB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.003174, allocations: 124.1 kB / 393.7 MB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.003315, allocations: 251.6 kB / 393.9 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.003382, allocations: 238.8 kB / 394.2 MB, free: 1.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.003457, allocations: 242.8 kB / 394.4 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.822e-05/0.003536, allocations: 149.4 kB / 394.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.003575, allocations: 127.4 kB / 394.7 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.53e-05/0.003651, allocations: 238.8 kB / 394.9 MB, free: 436 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.738e-05/0.003718, allocations: 238.8 kB / 395.1 MB, free: 196 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.0038, allocations: 246.3 kB / 395.4 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.004058, allocations: 0.5803 MB / 396 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.363e-05/0.004142, allocations: 265.5 kB / 396.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.004181, allocations: 126.9 kB / 396.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.004217, allocations: 119.2 kB / 396.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.004269, allocations: 156.6 kB / 396.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.00427, allocations: 0 / 396.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.68e-05/0.004337, allocations: 37.62 kB / 396.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.004399, allocations: 174.6 kB / 396.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.004534, allocations: 205.1 kB / 397 MB, free: 14.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.004547, allocations: 25.7 kB / 397 MB, free: 14.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.004606, allocations: 142.9 kB / 397.2 MB, free: 14.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.004608, allocations: 0 / 397.2 MB, free: 14.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.004648, allocations: 35.34 kB / 397.2 MB, free: 14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.004785, allocations: 0.4922 MB / 397.7 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.004825, allocations: 33.69 kB / 397.7 MB, free: 13.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.004881, allocations: 91.8 kB / 397.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.395e-05/0.004965, allocations: 99.7 kB / 397.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.004968, allocations: 4 kB / 397.9 MB, free: 13.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003022/0.005271, allocations: 176.2 kB / 398.1 MB, free: 13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.005299, allocations: 29.7 kB / 398.1 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.005308, allocations: 8.094 kB / 398.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.005447, allocations: 51.45 kB / 398.2 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.005576, allocations: 27.92 kB / 398.2 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.008211, allocations: 7.001 MB / 405.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.008248, allocations: 7.953 kB / 405.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.008257, allocations: 7.984 kB / 405.2 MB, free: 5.402 MB / 378.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.0001116/0.008369, allocations: 283.7 kB / 405.5 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.008418, allocations: 156.8 kB / 405.7 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.571e-05/0.008493, allocations: 152.5 kB / 405.8 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.113e-05/0.008554, allocations: 268.1 kB / 406.1 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.326e-05/0.008618, allocations: 276 kB / 406.3 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.307e-05/0.008681, allocations: 272.1 kB / 406.6 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.008964, allocations: 492.4 kB / 407.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/0.009003, allocations: 148.9 kB / 407.2 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.009041, allocations: 148.9 kB / 407.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.894e-05/0.00911, allocations: 272.1 kB / 407.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/0.009178, allocations: 272.1 kB / 407.9 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.474e-05/0.009243, allocations: 272 kB / 408.2 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.179e-05/0.009305, allocations: 268.1 kB / 408.4 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.00954, allocations: 451.9 kB / 408.9 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.009582, allocations: 156.8 kB / 409 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.009642, allocations: 280 kB / 409.3 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.267e-05/0.009695, allocations: 148.9 kB / 409.5 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.009767, allocations: 272 kB / 409.7 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.009799, allocations: 144.9 kB / 409.9 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.401e-05/0.009843, allocations: 139.2 kB / 410 MB, free: 452 kB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009843, allocations: 0 / 410 MB, free: 452 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.01002, allocations: 11.98 kB / 410 MB, free: 440 kB / 378.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 8.782e-05/0.01011, allocations: 218.4 kB / 410.2 MB, free: 212 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000433/0.01054, allocations: 480.3 kB / 410.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01054, allocations: 0 / 410.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.01055, allocations: 0 / 410.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.01084, allocations: 0.7061 MB / 411.4 MB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.01105, allocations: 265.6 kB / 411.7 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.01109, allocations: 67.28 kB / 411.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.694e-05/0.0111, allocations: 0 / 411.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.01115, allocations: 78.17 kB / 411.8 MB, free: 14.52 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01115, allocations: 4 kB / 411.8 MB, free: 14.51 MB / 394.7 MB Notification: Performance of Templates: time 0.002654/0.0138, allocations: 0.8637 MB / 412.7 MB, free: 13.66 MB / 394.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.0188291613012552]