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.00192/0.00192, allocations: 88.05 kB / 19.44 MB, free: 332 kB / 13.93 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.63/1.63, allocations: 177.1 MB / 199.7 MB, free: 5.785 MB / 186.7 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.002054/0.002054, allocations: 168.6 kB / 256.3 MB, free: 13.14 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.04013/0.04013, allocations: 6.651 MB / 319.4 MB, free: 26.56 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.824e-06/1.824e-06, allocations: 0 / 390.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.315e-05, allocations: 9.969 kB / 390.9 MB, free: 2.965 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.001881/0.001914, allocations: 0.5128 MB / 391.4 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007006/0.002615, allocations: 292.1 kB / 391.7 MB, free: 2.164 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.002649, allocations: 0 / 391.7 MB, free: 2.164 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.633e-05/0.002695, allocations: 0 / 391.7 MB, free: 2.164 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.003143, allocations: 79.66 kB / 391.8 MB, free: 2.086 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.209e-05/0.003205, allocations: 15.91 kB / 391.8 MB, free: 2.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.003319, allocations: 23.92 kB / 391.8 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.003353, allocations: 4 kB / 391.8 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.781e-05/0.003421, allocations: 19.92 kB / 391.8 MB, free: 2.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.003727, allocations: 59.91 kB / 391.9 MB, free: 1.965 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.003746, allocations: 0 / 391.9 MB, free: 1.965 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.003762, allocations: 4 kB / 391.9 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.003828, allocations: 19.92 kB / 391.9 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.003863, allocations: 8 kB / 391.9 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.413e-05/0.003957, allocations: 35.83 kB / 392 MB, free: 1.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003959, allocations: 0 / 392 MB, free: 1.898 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.00396, allocations: 0 / 392 MB, free: 1.898 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.003964, allocations: 0 / 392 MB, free: 1.898 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.0005802/0.004544, allocations: 417.8 kB / 392.4 MB, free: 1.445 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.004585, allocations: 12.03 kB / 392.4 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.0047, allocations: 128.1 kB / 392.5 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.004952, allocations: 243.8 kB / 392.8 MB, free: 1.043 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.005085, allocations: 238.8 kB / 393 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.005234, allocations: 246.8 kB / 393.2 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.005348, allocations: 149.4 kB / 393.4 MB, free: 424 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.928e-05/0.005418, allocations: 119.4 kB / 393.5 MB, free: 304 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.005558, allocations: 242.8 kB / 393.7 MB, free: 60 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/0.005709, allocations: 238.8 kB / 394 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.005844, allocations: 242.3 kB / 394.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.006314, allocations: 0.5953 MB / 394.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.0065, allocations: 273.4 kB / 395.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.006577, allocations: 134.9 kB / 395.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.797e-05/0.006645, allocations: 119.2 kB / 395.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.006746, allocations: 152.6 kB / 395.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.006747, allocations: 0 / 395.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.262e-05/0.00683, allocations: 33.66 kB / 395.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.006949, allocations: 174.6 kB / 395.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.007176, allocations: 212.4 kB / 395.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.007198, allocations: 25.7 kB / 395.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.007308, allocations: 146.8 kB / 396 MB, free: 13.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.00731, allocations: 0 / 396 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.007364, allocations: 27.38 kB / 396.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002808/0.007645, allocations: 0.4962 MB / 396.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.007704, allocations: 37.7 kB / 396.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.007816, allocations: 103.8 kB / 396.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.007946, allocations: 95.75 kB / 396.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.007948, allocations: 0 / 396.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004623/0.008411, allocations: 192.2 kB / 397 MB, free: 12.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.008458, allocations: 41.62 kB / 397 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.008464, allocations: 0 / 397 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/0.008711, allocations: 39.36 kB / 397.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.008951, allocations: 36.16 kB / 397.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00627/0.01522, allocations: 7.1 MB / 404.2 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.01529, allocations: 8.234 kB / 404.2 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.0153, allocations: 8 kB / 404.2 MB, free: 4.844 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.0002225/0.01553, allocations: 287.7 kB / 404.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.01564, allocations: 152.8 kB / 404.6 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.178e-05/0.01573, allocations: 156.6 kB / 404.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001458/0.01587, allocations: 264.1 kB / 405 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00015/0.01602, allocations: 272 kB / 405.3 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004152/0.01644, allocations: 276 kB / 405.6 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.0168, allocations: 0.4999 MB / 406.1 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.262e-05/0.01689, allocations: 156.8 kB / 406.2 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.01697, allocations: 144.9 kB / 406.4 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001498/0.01712, allocations: 264.2 kB / 406.6 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/0.01729, allocations: 280 kB / 406.9 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000143/0.01744, allocations: 264.1 kB / 407.2 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001565/0.01759, allocations: 272 kB / 407.4 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.01787, allocations: 451.9 kB / 407.9 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.01797, allocations: 152.8 kB / 408 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.01812, allocations: 264.1 kB / 408.3 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.01825, allocations: 156.8 kB / 408.4 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.01839, allocations: 264.1 kB / 408.7 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.156/0.1744, allocations: 163.7 kB / 408.9 MB, free: 83.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1745, allocations: 145.7 kB / 409 MB, free: 83.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1745, allocations: 0 / 409 MB, free: 83.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.1749, allocations: 9.75 kB / 409 MB, free: 83.46 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 0.0001282/0.175, allocations: 211.6 kB / 409.2 MB, free: 83.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008417/0.1759, allocations: 492.5 kB / 409.7 MB, free: 82.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1759, allocations: 0 / 409.7 MB, free: 82.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-06/0.1759, allocations: 1.188 kB / 409.7 MB, free: 82.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1762, allocations: 0.7019 MB / 410.4 MB, free: 82.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.1765, allocations: 274.5 kB / 410.7 MB, free: 81.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.1766, allocations: 71.27 kB / 410.7 MB, free: 81.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.004e-05/0.1766, allocations: 5.234 kB / 410.7 MB, free: 81.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.1766, allocations: 11.8 kB / 410.7 MB, free: 81.8 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1766, allocations: 1.75 kB / 410.8 MB, free: 81.8 MB / 330.7 MB Notification: Performance of Templates: time 0.004175/0.1808, allocations: 0.8388 MB / 411.6 MB, free: 81.77 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: 4.890570363029838]