Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001634/0.001634, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00234/0.00234, allocations: 212.4 kB / 22.24 MB, free: 5.242 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.138/0.138, allocations: 23.89 MB / 336.3 MB, free: 10.97 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.WaterElectrolysis") translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterElectrolysis") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.89 kB / 471.6 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3534, allocations: 59.86 MB / 0.519 GB, free: 9.809 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.08533/0.4387, allocations: 28.81 MB / 0.5471 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0262/0.4649, allocations: 15.79 MB / 0.5626 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.467, allocations: 27.81 kB / 0.5626 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.4684, allocations: 449.5 kB / 0.563 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.473, allocations: 1.293 MB / 0.5643 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007931/0.4809, allocations: 2.58 MB / 0.5668 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004133/0.4851, allocations: 2.288 MB / 0.569 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.4869, allocations: 1.183 MB / 0.5702 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.4884, allocations: 1.063 MB / 0.5712 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.49, allocations: 1.019 MB / 0.5722 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003238/0.4903, allocations: 224 kB / 0.5724 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005144/0.4955, allocations: 1.724 MB / 0.5741 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005565/0.496, allocations: 0.5024 MB / 0.5746 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.4972, allocations: 0.9182 MB / 0.5755 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009764/0.507, allocations: 4.338 MB / 0.5797 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.507, allocations: 4 kB / 0.5797 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.507, allocations: 0 / 0.5797 GB, free: 11.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.755e-05/0.5071, allocations: 0 / 0.5797 GB, free: 11.54 MB / 430.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.004819/0.5119, allocations: 2.477 MB / 0.5822 GB, free: 9.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.5119, allocations: 12.03 kB / 0.5822 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.5137, allocations: 439 kB / 0.5826 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.5159, allocations: 1.058 MB / 0.5836 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.5161, allocations: 211.6 kB / 0.5838 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003734/0.5165, allocations: 203.9 kB / 0.584 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004091/0.5206, allocations: 2.153 MB / 0.5861 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.5206, allocations: 4 kB / 0.5861 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.5208, allocations: 76 kB / 0.5862 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.042e-05/0.5209, allocations: 48 kB / 0.5862 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003798/0.5247, allocations: 2.222 MB / 0.5884 GB, free: 2.504 MB / 430.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.01094/0.5356, allocations: 5.853 MB / 0.5941 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.5384, allocations: 1.505 MB / 0.5956 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009297/0.5394, allocations: 0.5255 MB / 0.5961 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008528/0.5479, allocations: 3.31 MB / 0.5993 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.5479, allocations: 43.56 kB / 0.5994 GB, free: 7.035 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 3.136e-06/0.5479, allocations: 0 / 0.5994 GB, free: 7.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.01946/0.5674, allocations: 4.666 MB / 0.6039 GB, free: 2.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/0.5675, allocations: 119.8 kB / 0.6041 GB, free: 2.199 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.5689, allocations: 0.8592 MB / 0.6049 GB, free: 1.316 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.569, allocations: 45.7 kB / 0.6049 GB, free: 1.266 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/0.5698, allocations: 0.9709 MB / 0.6059 GB, free: 288 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004921/0.5703, allocations: 400.9 kB / 0.6063 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005666/0.5709, allocations: 347.4 kB / 0.6066 GB, free: 15.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.5711, allocations: 353.9 kB / 0.6069 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009256/0.572, allocations: 455.8 kB / 0.6074 GB, free: 14.74 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.5737, allocations: 1.199 MB / 0.6085 GB, free: 13.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.5765, allocations: 1.794 MB / 0.6103 GB, free: 11.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-05/0.5765, allocations: 8 kB / 0.6103 GB, free: 11.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005738/0.5823, allocations: 2.061 MB / 0.6123 GB, free: 8.949 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.5823, allocations: 16 kB / 0.6123 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.26e-05/0.5824, allocations: 24 kB / 0.6124 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/0.5848, allocations: 386.4 kB / 0.6127 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.5866, allocations: 447.3 kB / 0.6132 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005909/0.5925, allocations: 3.812 MB / 0.6169 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.5938, allocations: 83.86 kB / 0.617 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/0.5941, allocations: 108 kB / 0.6171 GB, free: 3.852 MB / 462.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.0008851/0.595, allocations: 385 kB / 0.6174 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003883/0.5954, allocations: 123.2 kB / 0.6175 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005261/0.6006, allocations: 1.597 MB / 0.6191 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.6007, allocations: 15.94 kB / 0.6191 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6007, allocations: 0 / 0.6191 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.6007, allocations: 8.125 kB / 0.6191 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.603, allocations: 1.117 MB / 0.6202 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.603, allocations: 8.062 kB / 0.6202 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.6043, allocations: 243.7 kB / 0.6205 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00243/0.6067, allocations: 346.2 kB / 0.6208 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.6069, allocations: 43.98 kB / 0.6208 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005438/0.6123, allocations: 3.725 MB / 0.6245 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.6123, allocations: 4 kB / 0.6245 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005581/0.6179, allocations: 2.2 MB / 0.6266 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.6183, allocations: 107.3 kB / 0.6267 GB, free: 9.562 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.6186, allocations: 31.94 kB / 0.6268 GB, free: 9.531 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.6194, allocations: 27.98 kB / 0.6268 GB, free: 9.504 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/0.6197, allocations: 108.7 kB / 0.6269 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.6198, allocations: 51.98 kB / 0.6269 GB, free: 9.348 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009424/0.6207, allocations: 0.5045 MB / 0.6274 GB, free: 8.832 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6207, allocations: 0 / 0.6274 GB, free: 8.832 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002963/0.6237, allocations: 0.7289 MB / 0.6281 GB, free: 8.102 MB / 478.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.001844/0.6255, allocations: 0.7312 MB / 0.6289 GB, free: 7.359 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00327/0.6288, allocations: 1.46 MB / 0.6303 GB, free: 5.875 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.6288, allocations: 0 / 0.6303 GB, free: 5.875 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.6303, allocations: 0.7841 MB / 0.631 GB, free: 5.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.6319, allocations: 233.4 kB / 0.6313 GB, free: 4.852 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006487/0.6384, allocations: 3.057 MB / 0.6342 GB, free: 1.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.6396, allocations: 0.6761 MB / 0.6349 GB, free: 1.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001281/0.6409, allocations: 330.1 kB / 0.6352 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/0.6414, allocations: 215.3 kB / 0.6354 GB, free: 496 kB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6414, allocations: 0 / 0.6354 GB, free: 496 kB / 478.1 MB Notification: Performance of Templates: time 0.04669/0.6881, allocations: 26.89 MB / 0.6617 GB, free: 5.773 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.sim & ./Chemical_Chemical.Obsolete.Examples.WaterElectrolysis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.93319845199585] Failed to read output from testmodel.py, exit status != 0: 0.6974802557379007 0.71155883 0.20131748899999996 Calling exit ...