Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.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.001831/0.001831, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] 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.002189/0.002189, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.609/1.609, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1684/0.1684, allocations: 17.45 MB / 277 MB, free: 11.6 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis") translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.778e-05/4.013e-05, allocations: 12.92 kB / 352.8 MB, free: 10.2 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterElectrolysis): time 0.04425/0.04429, allocations: 30.26 MB / 383.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02747/0.07175, allocations: 17.87 MB / 400.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.07308, allocations: 27.81 kB / 401 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.07456, allocations: 448.3 kB / 401.4 MB, free: 9.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004539/0.07909, allocations: 1.349 MB / 402.8 MB, free: 8.301 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008335/0.08743, allocations: 2.656 MB / 405.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004274/0.0917, allocations: 2.365 MB / 407.8 MB, free: 3.254 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.09366, allocations: 1.251 MB / 409 MB, free: 1.949 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.09609, allocations: 1.54 MB / 410.6 MB, free: 416 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1468/0.2429, allocations: 0.9442 MB / 411.5 MB, free: 36.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006355/0.2436, allocations: 224.2 kB / 411.7 MB, free: 36.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005242/0.2488, allocations: 1.736 MB / 413.5 MB, free: 36.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004908/0.2493, allocations: 0.5238 MB / 414 MB, free: 36.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.2506, allocations: 0.7971 MB / 414.8 MB, free: 36.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.2609, allocations: 4.543 MB / 419.3 MB, free: 36.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2609, allocations: 0 / 419.3 MB, free: 36.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2609, allocations: 0 / 419.3 MB, free: 36.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.544e-05/0.261, allocations: 1.219 kB / 419.3 MB, free: 36.49 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.006134/0.2671, allocations: 2.743 MB / 422.1 MB, free: 35.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.2672, allocations: 12.5 kB / 422.1 MB, free: 35.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.2692, allocations: 0.7347 MB / 422.8 MB, free: 35.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.2711, allocations: 1.077 MB / 423.9 MB, free: 34.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.2713, allocations: 201.1 kB / 424.1 MB, free: 34.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.2716, allocations: 201.7 kB / 424.3 MB, free: 34.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/0.2745, allocations: 2.269 MB / 426.6 MB, free: 34.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.2746, allocations: 0 / 426.6 MB, free: 34.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.2748, allocations: 81.16 kB / 426.6 MB, free: 34.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.2748, allocations: 49.41 kB / 426.7 MB, free: 34.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.2778, allocations: 2.163 MB / 428.9 MB, free: 33.68 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008947/0.2867, allocations: 7.324 MB / 436.2 MB, free: 28.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.289, allocations: 1.471 MB / 437.7 MB, free: 28.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006703/0.2896, allocations: 0.5003 MB / 438.2 MB, free: 28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006878/0.2965, allocations: 3.621 MB / 441.8 MB, free: 25.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.2965, allocations: 46.33 kB / 441.8 MB, free: 25.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 2.635e-06/0.2965, allocations: 0 / 441.8 MB, free: 25.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.01615/0.3127, allocations: 4.643 MB / 446.5 MB, free: 20.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.3127, allocations: 116.4 kB / 446.6 MB, free: 20.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009514/0.3137, allocations: 1.119 MB / 447.7 MB, free: 19.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.75e-05/0.3137, allocations: 45.7 kB / 447.7 MB, free: 19.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.3141, allocations: 1.061 MB / 448.8 MB, free: 18.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.3143, allocations: 422.4 kB / 449.2 MB, free: 17.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003987/0.3147, allocations: 397.8 kB / 449.6 MB, free: 17.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3148, allocations: 0.5537 MB / 450.2 MB, free: 17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/0.3155, allocations: 439.8 kB / 450.6 MB, free: 16.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009342/0.3164, allocations: 1.555 MB / 452.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.3182, allocations: 2.166 MB / 454.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/0.3182, allocations: 8 kB / 454.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004466/0.3226, allocations: 2.138 MB / 456.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.3227, allocations: 16.98 kB / 456.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.3227, allocations: 27.12 kB / 456.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003562/0.3263, allocations: 0.4961 MB / 457 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.3279, allocations: 450 kB / 457.4 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004336/0.3322, allocations: 5.111 MB / 462.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.3334, allocations: 86.53 kB / 462.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.3335, allocations: 104 kB / 462.7 MB, free: 3.602 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 115 * 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 (219): * Single equations (assignments): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005577/0.3341, allocations: 419.1 kB / 463.1 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.3343, allocations: 150.9 kB / 463.3 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00428/0.3386, allocations: 1.596 MB / 464.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3386, allocations: 12 kB / 464.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3386, allocations: 4 kB / 464.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.3386, allocations: 3.984 kB / 464.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.3404, allocations: 1.406 MB / 466.3 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3404, allocations: 4 kB / 466.3 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.3417, allocations: 236.2 kB / 466.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003783/0.3455, allocations: 484.9 kB / 467 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.3456, allocations: 43.98 kB / 467.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006444/0.352, allocations: 5.024 MB / 472.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.352, allocations: 4 kB / 472.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006167/0.3582, allocations: 2.367 MB / 474.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.3586, allocations: 115.1 kB / 474.6 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.3588, allocations: 27.17 kB / 474.6 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006872/0.3595, allocations: 34.38 kB / 474.6 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/0.3597, allocations: 107.2 kB / 474.7 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.3598, allocations: 55.92 kB / 474.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008945/0.3607, allocations: 0.5943 MB / 475.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3607, allocations: 0.5469 kB / 475.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002707/0.3634, allocations: 0.7289 MB / 476.1 MB, free: 5.992 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (O2_gas.logn,H2_gas.logn,anode.temperature,cathode.temperature,water.temperature,air.temperature,liquidWater.logn) * 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 (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001644/0.3651, allocations: 0.7457 MB / 476.9 MB, free: 5.375 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003168/0.3683, allocations: 1.67 MB / 478.5 MB, free: 3.766 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/0.3683, allocations: 9.938 kB / 478.5 MB, free: 3.762 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.3698, allocations: 0.9401 MB / 479.5 MB, free: 2.809 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.3713, allocations: 263.2 kB / 479.7 MB, free: 2.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/0.3771, allocations: 2.979 MB / 482.7 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/0.3779, allocations: 0.6616 MB / 483.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001096/0.379, allocations: 336.7 kB / 483.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004721/0.3795, allocations: 207.7 kB / 483.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3795, allocations: 2.656 kB / 483.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of Templates: time 0.048/0.4275, allocations: 24.99 MB / 0.497 GB, free: 6.406 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.sim & ./Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.212327864952385]