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.001459/0.001459, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001821/0.001821, allocations: 177 kB / 23.36 MB, free: 1.129 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.9369/0.9369, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.08335/0.08335, allocations: 17.46 MB / 277.7 MB, free: 11.43 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.804e-06/1.804e-06, allocations: 0 / 300.8 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.783e-05, allocations: 2.312 kB / 300.8 MB, free: 1.707 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.03288/0.0329, allocations: 38.16 MB / 338.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.04458, allocations: 12.04 MB / 351 MB, free: 2.078 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008553/0.04544, allocations: 31.75 kB / 351 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007192/0.04616, allocations: 380.7 kB / 351.4 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.04818, allocations: 1.159 MB / 352.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.05119, allocations: 1.822 MB / 354.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001866/0.05305, allocations: 2.362 MB / 356.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.05415, allocations: 1.27 MB / 358 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.05532, allocations: 1.587 MB / 359.6 MB, free: 9.371 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009218/0.05625, allocations: 0.9821 MB / 360.6 MB, free: 8.387 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.05647, allocations: 220 kB / 360.8 MB, free: 8.172 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.05882, allocations: 1.228 MB / 362 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000322/0.05914, allocations: 0.5295 MB / 362.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.05974, allocations: 0.7991 MB / 363.3 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.06231, allocations: 2.981 MB / 366.3 MB, free: 2.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.06231, allocations: 0 / 366.3 MB, free: 2.617 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.06231, allocations: 0 / 366.3 MB, free: 2.617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.06233, allocations: 0 / 366.3 MB, free: 2.617 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.002228/0.06456, allocations: 2.352 MB / 368.7 MB, free: 236 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.0646, allocations: 15.97 kB / 368.7 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.06569, allocations: 0.6203 MB / 369.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.06653, allocations: 0.695 MB / 370 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.06664, allocations: 207.9 kB / 370.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.06682, allocations: 200.3 kB / 370.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.06821, allocations: 1.641 MB / 372 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.06824, allocations: 0 / 372 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.826e-05/0.06834, allocations: 84 kB / 372.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.06836, allocations: 48 kB / 372.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.06963, allocations: 1.13 MB / 373.3 MB, free: 11.47 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.004846/0.07448, allocations: 5.084 MB / 378.4 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.07572, allocations: 1.306 MB / 379.7 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.07598, allocations: 271 kB / 379.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003312/0.07929, allocations: 2.765 MB / 382.7 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.07932, allocations: 43.5 kB / 382.7 MB, free: 1.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=88): time 2.214e-06/0.07932, allocations: 0 / 382.7 MB, free: 1.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.007421/0.08674, allocations: 3.204 MB / 386 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.08678, allocations: 123.7 kB / 386.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.08724, allocations: 0.7867 MB / 386.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.08729, allocations: 45.7 kB / 386.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.08761, allocations: 0.8901 MB / 387.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.0878, allocations: 412.5 kB / 388.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.08808, allocations: 343.2 kB / 388.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.08817, allocations: 361.8 kB / 388.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.0884, allocations: 198.7 kB / 389.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008423/0.08925, allocations: 0.9602 MB / 390 MB, free: 10.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009201/0.09017, allocations: 1.359 MB / 391.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.09017, allocations: 8 kB / 391.4 MB, free: 8.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.001854/0.09203, allocations: 1.339 MB / 392.7 MB, free: 6.941 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.09205, allocations: 16 kB / 392.8 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.09207, allocations: 27.94 kB / 392.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.09351, allocations: 457 kB / 393.2 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009244/0.09443, allocations: 487.3 kB / 393.7 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.09702, allocations: 3.201 MB / 396.9 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.0975, allocations: 87.84 kB / 397 MB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.0976, allocations: 91.98 kB / 397.1 MB, free: 2.387 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.0002767/0.09788, allocations: 239.9 kB / 397.3 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.09802, allocations: 103.9 kB / 397.4 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.09982, allocations: 1.071 MB / 398.5 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.09983, allocations: 12 kB / 398.5 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.09983, allocations: 0 / 398.5 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.09984, allocations: 15.91 kB / 398.5 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1009, allocations: 0.976 MB / 399.5 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1009, allocations: 8.062 kB / 399.5 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.1015, allocations: 271.6 kB / 399.8 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.1029, allocations: 416.7 kB / 400.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.103, allocations: 43.98 kB / 400.2 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.105, allocations: 3.126 MB / 403.3 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.105, allocations: 4 kB / 403.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.107, allocations: 1.395 MB / 404.7 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.1071, allocations: 103.2 kB / 404.8 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/0.1072, allocations: 24 kB / 404.9 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.1075, allocations: 35.98 kB / 404.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.1076, allocations: 104.7 kB / 405 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.1077, allocations: 47.98 kB / 405.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002138/0.1079, allocations: 334.3 kB / 405.4 MB, free: 9.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1079, allocations: 0 / 405.4 MB, free: 9.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001181/0.1091, allocations: 0.6123 MB / 406 MB, free: 9.102 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.0006333/0.1097, allocations: 0.5495 MB / 406.5 MB, free: 8.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.1107, allocations: 1.085 MB / 407.6 MB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.512e-05/0.1108, allocations: 17.81 kB / 407.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004919/0.1113, allocations: 0.6235 MB / 408.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006905/0.1119, allocations: 258.2 kB / 408.5 MB, free: 6.523 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.003281/0.1152, allocations: 2.7 MB / 411.2 MB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.1154, allocations: 271.8 kB / 411.5 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006005/0.116, allocations: 318.2 kB / 411.8 MB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/0.1166, allocations: 421 kB / 412.2 MB, free: 2.723 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1166, allocations: 0 / 412.2 MB, free: 2.723 MB / 378.7 MB Notification: Performance of Templates: time 0.0265/0.143, allocations: 25.1 MB / 437.3 MB, free: 9.758 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4601447079330683]