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.001348/0.001348, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001433/0.001433, allocations: 162.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.1434/0.1434, allocations: 17.46 MB / 276.6 MB, free: 15.2 MB / 270.1 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.433e-06/1.433e-06, allocations: 0 / 412.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.202e-05, allocations: 2.281 kB / 412.1 MB, free: 4.281 MB / 334.1 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.03864/0.03866, allocations: 29.07 MB / 441.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1782/0.2169, allocations: 15.79 MB / 457 MB, free: 31.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.218, allocations: 29.53 kB / 457 MB, free: 31.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.2192, allocations: 451.8 kB / 457.4 MB, free: 31.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003625/0.2228, allocations: 1.35 MB / 458.8 MB, free: 30.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007205/0.23, allocations: 2.65 MB / 461.4 MB, free: 29.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003881/0.2339, allocations: 2.373 MB / 463.8 MB, free: 28.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.2363, allocations: 1.194 MB / 465 MB, free: 27.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/0.2388, allocations: 1.526 MB / 466.5 MB, free: 26.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.2406, allocations: 0.8824 MB / 467.4 MB, free: 26.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004471/0.241, allocations: 226.9 kB / 467.6 MB, free: 26.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006053/0.2471, allocations: 1.745 MB / 469.4 MB, free: 26.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000457/0.2476, allocations: 0.5079 MB / 469.9 MB, free: 26.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.2487, allocations: 0.7934 MB / 470.7 MB, free: 25.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00874/0.2574, allocations: 4.52 MB / 475.2 MB, free: 22.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2574, allocations: 5.5 kB / 475.2 MB, free: 22.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2574, allocations: 0 / 475.2 MB, free: 22.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.758e-05/0.2575, allocations: 6.609 kB / 475.2 MB, free: 22.97 MB / 366.1 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.004122/0.2616, allocations: 2.447 MB / 477.7 MB, free: 21.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2616, allocations: 9.062 kB / 477.7 MB, free: 21.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.2632, allocations: 442.4 kB / 478.1 MB, free: 21.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.2649, allocations: 1.053 MB / 479.1 MB, free: 20.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.265, allocations: 205.8 kB / 479.4 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.2653, allocations: 199.2 kB / 479.5 MB, free: 20.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/0.2682, allocations: 2.164 MB / 481.7 MB, free: 18.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.2682, allocations: 5.781 kB / 481.7 MB, free: 18.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.2684, allocations: 81.94 kB / 481.8 MB, free: 18.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.2684, allocations: 48.94 kB / 481.8 MB, free: 18.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/0.2714, allocations: 2.218 MB / 484.1 MB, free: 16.59 MB / 366.1 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.00795/0.2793, allocations: 5.843 MB / 489.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/0.2815, allocations: 1.496 MB / 491.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006689/0.2821, allocations: 0.5283 MB / 491.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006521/0.2887, allocations: 3.31 MB / 495.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.2887, allocations: 47.55 kB / 495.3 MB, free: 5.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=88): time 3.426e-06/0.2887, allocations: 0 / 495.3 MB, free: 5.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.01668/0.3054, allocations: 4.657 MB / 499.9 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3054, allocations: 123.8 kB / 0.4883 GB, free: 416 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009956/0.3064, allocations: 0.8631 MB / 0.4892 GB, free: 15.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.366e-05/0.3065, allocations: 49.69 kB / 0.4892 GB, free: 15.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007395/0.3073, allocations: 0.967 MB / 0.4902 GB, free: 14.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/0.3076, allocations: 399.3 kB / 0.4906 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000502/0.3081, allocations: 339.4 kB / 0.4909 GB, free: 13.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3083, allocations: 357.9 kB / 0.4912 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008893/0.3092, allocations: 451.8 kB / 0.4917 GB, free: 12.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.3107, allocations: 1.195 MB / 0.4928 GB, free: 11.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/0.3134, allocations: 1.799 MB / 0.4946 GB, free: 9.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.3134, allocations: 10.66 kB / 0.4946 GB, free: 9.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005606/0.319, allocations: 2.053 MB / 0.4966 GB, free: 7.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.319, allocations: 16 kB / 0.4966 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.3191, allocations: 24 kB / 0.4966 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/0.3217, allocations: 383.6 kB / 0.497 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.3235, allocations: 446 kB / 0.4974 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005817/0.3293, allocations: 3.81 MB / 0.5011 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.3304, allocations: 86.53 kB / 0.5012 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.3306, allocations: 108 kB / 0.5013 GB, free: 2.191 MB / 382.1 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.0007486/0.3314, allocations: 379.7 kB / 0.5017 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.3316, allocations: 123.1 kB / 0.5018 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005116/0.3368, allocations: 1.603 MB / 0.5034 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.3368, allocations: 12 kB / 0.5034 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3368, allocations: 0 / 0.5034 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.3368, allocations: 7.969 kB / 0.5034 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.3388, allocations: 1.12 MB / 0.5045 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.3389, allocations: 6.906 kB / 0.5045 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.3401, allocations: 238.3 kB / 0.5047 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002464/0.3426, allocations: 349.9 kB / 0.5051 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.3427, allocations: 51.97 kB / 0.5051 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00536/0.3481, allocations: 3.712 MB / 0.5087 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3481, allocations: 6.672 kB / 0.5087 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/0.3535, allocations: 2.199 MB / 0.5109 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.3538, allocations: 107.1 kB / 0.511 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.3539, allocations: 24 kB / 0.511 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006831/0.3546, allocations: 28 kB / 0.511 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.3549, allocations: 116.7 kB / 0.5111 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.355, allocations: 47.98 kB / 0.5112 GB, free: 7.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007224/0.3557, allocations: 0.5085 MB / 0.5117 GB, free: 7.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3557, allocations: 2.688 kB / 0.5117 GB, free: 7.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002491/0.3582, allocations: 0.7211 MB / 0.5124 GB, free: 6.57 MB / 398.1 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.001641/0.3598, allocations: 0.7504 MB / 0.5131 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002861/0.3627, allocations: 1.477 MB / 0.5146 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.3627, allocations: 0 / 0.5146 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.3641, allocations: 0.7708 MB / 0.5153 GB, free: 3.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.3654, allocations: 229.6 kB / 0.5155 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005011/0.3704, allocations: 2.886 MB / 0.5184 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007709/0.3711, allocations: 0.6722 MB / 0.519 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009883/0.3721, allocations: 335.8 kB / 0.5193 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/0.3726, allocations: 213.9 kB / 0.5195 GB, free: 15.39 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3726, allocations: 0 / 0.5195 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Templates: time 0.04413/0.4167, allocations: 24.61 MB / 0.5436 GB, free: 7.402 MB / 430.1 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.809827025979757] Failed to read output from testmodel.py, exit status != 0: 0.4266588054597378 0.441188452 0.18054614000000002 Calling exit ...