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.001817/0.001817, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002226/0.002226, allocations: 216.1 kB / 23 MB, free: 4.969 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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.1448/0.1448, allocations: 23.92 MB / 337.1 MB, free: 10.92 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: 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.00207/0.00207, allocations: 63.91 kB / 472.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.311, allocations: 59.88 MB / 0.5198 GB, free: 9.781 MB / 382.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.07306/0.384, allocations: 28.63 MB / 0.5478 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02304/0.4071, allocations: 15.78 MB / 0.5632 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.409, allocations: 31.75 kB / 0.5632 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.4104, allocations: 449.4 kB / 0.5637 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.4146, allocations: 1.301 MB / 0.5649 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007381/0.422, allocations: 2.573 MB / 0.5674 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003819/0.4258, allocations: 2.292 MB / 0.5697 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.4274, allocations: 1.222 MB / 0.5709 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.4288, allocations: 1.052 MB / 0.5719 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.4305, allocations: 1.164 MB / 0.573 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003439/0.4309, allocations: 224 kB / 0.5733 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004495/0.4354, allocations: 1.771 MB / 0.575 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.4359, allocations: 0.4946 MB / 0.5755 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009764/0.4368, allocations: 0.926 MB / 0.5764 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006993/0.4438, allocations: 4.33 MB / 0.5806 GB, free: 11.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.4438, allocations: 3.984 kB / 0.5806 GB, free: 11.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4439, allocations: 4 kB / 0.5806 GB, free: 11.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.742e-05/0.4439, allocations: 0 / 0.5806 GB, free: 11.41 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.004521/0.4484, allocations: 2.477 MB / 0.583 GB, free: 8.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4484, allocations: 8.031 kB / 0.583 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.4502, allocations: 451 kB / 0.5835 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.4522, allocations: 1.051 MB / 0.5845 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.4524, allocations: 207.7 kB / 0.5847 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/0.4527, allocations: 204 kB / 0.5849 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00364/0.4564, allocations: 2.16 MB / 0.587 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.4564, allocations: 3.938 kB / 0.587 GB, free: 4.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/0.4566, allocations: 80 kB / 0.5871 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/0.4567, allocations: 48 kB / 0.5871 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.4604, allocations: 2.218 MB / 0.5893 GB, free: 2.371 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.009823/0.4702, allocations: 5.849 MB / 0.595 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.4729, allocations: 1.509 MB / 0.5965 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008785/0.4738, allocations: 0.5255 MB / 0.597 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007697/0.4815, allocations: 3.307 MB / 0.6002 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.4815, allocations: 39.56 kB / 0.6002 GB, free: 6.906 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 2.685e-06/0.4815, allocations: 0 / 0.6002 GB, free: 6.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02075/0.5023, allocations: 4.662 MB / 0.6048 GB, free: 2.215 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.5023, allocations: 119.8 kB / 0.6049 GB, free: 2.074 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.5035, allocations: 0.8747 MB / 0.6058 GB, free: 1.176 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.5037, allocations: 45.7 kB / 0.6058 GB, free: 1.125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000785/0.5045, allocations: 0.9709 MB / 0.6068 GB, free: 144 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004054/0.5049, allocations: 400.9 kB / 0.6071 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/0.5054, allocations: 347.4 kB / 0.6075 GB, free: 15.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.5055, allocations: 353.9 kB / 0.6078 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000835/0.5064, allocations: 459.8 kB / 0.6083 GB, free: 14.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.5079, allocations: 1.191 MB / 0.6094 GB, free: 13.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.5104, allocations: 1.79 MB / 0.6112 GB, free: 10.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/0.5105, allocations: 8 kB / 0.6112 GB, free: 10.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005824/0.5163, allocations: 2.062 MB / 0.6132 GB, free: 8.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.5163, allocations: 20.09 kB / 0.6132 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.159e-05/0.5164, allocations: 28 kB / 0.6132 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00278/0.5191, allocations: 382.1 kB / 0.6136 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.5209, allocations: 443.4 kB / 0.614 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005941/0.5269, allocations: 3.803 MB / 0.6177 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.5282, allocations: 87.91 kB / 0.6178 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.5284, allocations: 108 kB / 0.6179 GB, free: 3.73 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.0006982/0.5291, allocations: 381 kB / 0.6183 GB, free: 3.348 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.5293, allocations: 127.2 kB / 0.6184 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00543/0.5348, allocations: 1.597 MB / 0.62 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.5348, allocations: 11.86 kB / 0.62 GB, free: 1.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5348, allocations: 3.984 kB / 0.62 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.535, allocations: 103.2 kB / 0.6201 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.5352, allocations: 20 kB / 0.6201 GB, free: 1.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/0.5359, allocations: 27.98 kB / 0.6201 GB, free: 1.445 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.5361, allocations: 88.83 kB / 0.6202 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004492/0.5406, allocations: 1.518 MB / 0.6217 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002822/0.5434, allocations: 1.85 MB / 0.6235 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000717/0.5441, allocations: 403.8 kB / 0.6239 GB, free: 13.56 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006983/0.5448, allocations: 0.5045 MB / 0.6244 GB, free: 13.05 MB / 478.1 MB Notification: Performance of Backend: time 6.11e-07/0.5448, allocations: 0 / 0.6244 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004768/0.5496, allocations: 2.116 MB / 0.6264 GB, free: 10.9 MB / 478.1 MB Notification: Performance of SimCode: time 0.005001/0.5546, allocations: 3.38 MB / 0.6297 GB, free: 7.465 MB / 478.1 MB Notification: Performance of Templates: time 0.05329/0.6079, allocations: 32.8 MB / 0.6618 GB, free: 6.77 MB / 0.4981 GB " [Timeout remaining time 659] 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 os._exit(0), Time elapsed: 6.01853320999362] Failed to read output from testmodel.py, exit status != 0: 0.6165297030092916 0.6318331690000001 0.184763215 Calling exit ...