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.001286/0.001286, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001471/0.001471, allocations: 177 kB / 23.36 MB, free: 1.133 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 0.905/0.905, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.08672/0.08672, allocations: 17.46 MB / 277.7 MB, free: 11.45 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 1.253e-06/1.253e-06, allocations: 0 / 300.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.086e-05, allocations: 4.344 kB / 300.7 MB, free: 1.754 MB / 266.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.02931/0.02932, allocations: 38.11 MB / 338.8 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.04023, allocations: 12.05 MB / 350.9 MB, free: 2.184 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007283/0.04095, allocations: 27.75 kB / 350.9 MB, free: 2.156 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006676/0.04162, allocations: 372.8 kB / 351.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.04347, allocations: 1.171 MB / 352.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.04631, allocations: 1.849 MB / 354.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.04799, allocations: 2.365 MB / 356.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.04908, allocations: 1.27 MB / 357.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.05023, allocations: 1.595 MB / 359.5 MB, free: 9.438 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009132/0.05114, allocations: 0.982 MB / 360.5 MB, free: 8.453 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002452/0.05138, allocations: 220 kB / 360.7 MB, free: 8.238 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.05303, allocations: 1.193 MB / 361.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.05332, allocations: 0.5217 MB / 362.4 MB, free: 6.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005358/0.05386, allocations: 0.7952 MB / 363.2 MB, free: 5.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.05633, allocations: 2.981 MB / 366.2 MB, free: 2.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.05633, allocations: 0 / 366.2 MB, free: 2.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.05633, allocations: 0 / 366.2 MB, free: 2.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.05634, allocations: 3.984 kB / 366.2 MB, free: 2.727 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.001991/0.05833, allocations: 2.348 MB / 368.6 MB, free: 352 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.05836, allocations: 12.03 kB / 368.6 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009228/0.05929, allocations: 0.6436 MB / 369.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007846/0.06007, allocations: 0.695 MB / 369.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.06018, allocations: 203.9 kB / 370.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.06035, allocations: 200.3 kB / 370.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.06175, allocations: 1.631 MB / 371.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.06178, allocations: 0 / 371.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.06188, allocations: 84 kB / 372 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.0619, allocations: 48 kB / 372.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.06301, allocations: 1.134 MB / 373.2 MB, free: 11.57 MB / 346.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.004471/0.06748, allocations: 5.084 MB / 378.3 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.06877, allocations: 1.302 MB / 379.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.06904, allocations: 271 kB / 379.9 MB, free: 4.715 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00324/0.07227, allocations: 2.761 MB / 382.6 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.0723, allocations: 47.5 kB / 382.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of pre-optimization done (n=88): time 1.923e-06/0.0723, allocations: 0 / 382.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.006791/0.07909, allocations: 3.206 MB / 385.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.07913, allocations: 119.8 kB / 386 MB, free: 14.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000627/0.07976, allocations: 0.7906 MB / 386.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.07981, allocations: 45.7 kB / 386.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.08012, allocations: 0.8901 MB / 387.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.0803, allocations: 404.6 kB / 388.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.08056, allocations: 351.2 kB / 388.4 MB, free: 12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.08066, allocations: 361.8 kB / 388.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.08089, allocations: 198.7 kB / 389 MB, free: 11.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.0814, allocations: 0.9524 MB / 389.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008984/0.0823, allocations: 1.363 MB / 391.3 MB, free: 8.414 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.0823, allocations: 8 kB / 391.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.001984/0.08429, allocations: 1.347 MB / 392.7 MB, free: 7.043 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.08431, allocations: 16 kB / 392.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.08433, allocations: 27.94 kB / 392.7 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.08567, allocations: 445.5 kB / 393.1 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008018/0.08647, allocations: 451.3 kB / 393.6 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.08862, allocations: 3.198 MB / 396.8 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.08906, allocations: 79.86 kB / 396.9 MB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/0.08914, allocations: 96.02 kB / 397 MB, free: 2.543 MB / 362.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.0002521/0.0894, allocations: 235.9 kB / 397.2 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.08953, allocations: 99.92 kB / 397.3 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.09127, allocations: 1.079 MB / 398.4 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.09128, allocations: 12 kB / 398.4 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.09128, allocations: 0 / 398.4 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.09129, allocations: 7.984 kB / 398.4 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008922/0.09218, allocations: 0.9913 MB / 399.4 MB, free: 36 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.09219, allocations: 4 kB / 399.4 MB, free: 32 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/0.09274, allocations: 231.7 kB / 399.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/0.09432, allocations: 416.8 kB / 400 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.09438, allocations: 47.97 kB / 400.1 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.09629, allocations: 3.114 MB / 403.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.09629, allocations: 4 kB / 403.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.09799, allocations: 1.399 MB / 404.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.598e-05/0.09808, allocations: 99.2 kB / 404.7 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.07e-05/0.09817, allocations: 31.98 kB / 404.7 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.09846, allocations: 28 kB / 404.7 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.09857, allocations: 108.7 kB / 404.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/0.09862, allocations: 47.97 kB / 404.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002131/0.09884, allocations: 338.4 kB / 405.2 MB, free: 9.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.09884, allocations: 0 / 405.2 MB, free: 9.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001111/0.09995, allocations: 0.6084 MB / 405.8 MB, free: 9.297 MB / 378.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.0005924/0.1005, allocations: 0.5377 MB / 406.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.1017, allocations: 1.094 MB / 407.4 MB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.23e-05/0.1017, allocations: 17.81 kB / 407.5 MB, free: 7.621 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004706/0.1022, allocations: 0.6234 MB / 408.1 MB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/0.1029, allocations: 254.5 kB / 408.3 MB, free: 6.727 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.1057, allocations: 2.712 MB / 411.1 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.1059, allocations: 267.8 kB / 411.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005674/0.1065, allocations: 322.2 kB / 411.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/0.107, allocations: 413 kB / 412 MB, free: 2.922 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.107, allocations: 0 / 412 MB, free: 2.922 MB / 378.7 MB Notification: Performance of Templates: time 0.02633/0.1333, allocations: 25.09 MB / 437.1 MB, free: 9.957 MB / 410.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: 3.3550684237852693]