Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.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.001328/0.001328, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001673/0.001673, allocations: 215.7 kB / 22.26 MB, free: 5.125 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 8.004 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.1385/0.1385, allocations: 23.88 MB / 336.3 MB, free: 11.17 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.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") [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.002072/0.002072, allocations: 63.89 kB / 471.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3237, allocations: 59.87 MB / 0.5191 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.009249/0.333, allocations: 8.51 MB / 0.5274 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03455/0.3675, allocations: 24.34 MB / 0.5512 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.3698, allocations: 30.09 kB / 0.5512 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.3722, allocations: 0.5041 MB / 0.5517 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009157/0.3813, allocations: 2.187 MB / 0.5539 GB, free: 372 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01174/0.3931, allocations: 3.064 MB / 0.5569 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004688/0.3978, allocations: 2.448 MB / 0.5593 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.3998, allocations: 1.132 MB / 0.5604 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.4021, allocations: 1.231 MB / 0.5616 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003396/0.4055, allocations: 1.357 MB / 0.5629 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009393/0.4065, allocations: 219 kB / 0.5631 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/0.4174, allocations: 2.686 MB / 0.5657 GB, free: 9.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.4186, allocations: 0.5197 MB / 0.5662 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002701/0.4213, allocations: 1.074 MB / 0.5673 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.4363, allocations: 5.249 MB / 0.5724 GB, free: 3.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.4363, allocations: 7.938 kB / 0.5724 GB, free: 3.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4363, allocations: 0 / 0.5724 GB, free: 3.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001193/0.4364, allocations: 0 / 0.5724 GB, free: 3.281 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.007001/0.4434, allocations: 2.65 MB / 0.575 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4434, allocations: 8.031 kB / 0.575 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.4456, allocations: 423 kB / 0.5754 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.4478, allocations: 0.9022 MB / 0.5763 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.448, allocations: 242.8 kB / 0.5765 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004467/0.4485, allocations: 188.3 kB / 0.5767 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/0.4527, allocations: 2.089 MB / 0.5787 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/0.4528, allocations: 3.938 kB / 0.5787 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.453, allocations: 72 kB / 0.5788 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/0.453, allocations: 44 kB / 0.5789 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004683/0.4577, allocations: 2.604 MB / 0.5814 GB, free: 9.949 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.01305/0.4707, allocations: 6.585 MB / 0.5878 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005398/0.4761, allocations: 2.572 MB / 0.5903 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.4779, allocations: 0.8314 MB / 0.5911 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.489, allocations: 4.504 MB / 0.5955 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.4891, allocations: 55.81 kB / 0.5956 GB, free: 11.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.496e-06/0.4891, allocations: 0 / 0.5956 GB, free: 11.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03419/0.5233, allocations: 6.731 MB / 0.6022 GB, free: 4.258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/0.5234, allocations: 99.05 kB / 0.6023 GB, free: 4.141 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.5245, allocations: 0.7846 MB / 0.603 GB, free: 3.332 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002026/0.5247, allocations: 53.7 kB / 0.6031 GB, free: 3.273 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006183/0.5254, allocations: 0.7585 MB / 0.6038 GB, free: 2.504 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007401/0.5261, allocations: 0.6391 MB / 0.6045 GB, free: 1.859 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006198/0.5267, allocations: 367.5 kB / 0.6048 GB, free: 1.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.5269, allocations: 301.1 kB / 0.6051 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.5281, allocations: 0.6131 MB / 0.6057 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.5299, allocations: 1.133 MB / 0.6068 GB, free: 15.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003274/0.5332, allocations: 1.925 MB / 0.6087 GB, free: 13.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/0.5332, allocations: 4 kB / 0.6087 GB, free: 13.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008803/0.542, allocations: 2.472 MB / 0.6111 GB, free: 10.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.5421, allocations: 12 kB / 0.6111 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.5421, allocations: 16 kB / 0.6111 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004305/0.5464, allocations: 479.1 kB / 0.6116 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.549, allocations: 0.5227 MB / 0.6121 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.5614, allocations: 7.278 MB / 0.6192 GB, free: 1.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.563, allocations: 60 kB / 0.6192 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003384/0.5633, allocations: 99.97 kB / 0.6193 GB, free: 1.672 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (246): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008984/0.5642, allocations: 377.7 kB / 0.6197 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/0.5647, allocations: 143 kB / 0.6198 GB, free: 1.152 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008714/0.5734, allocations: 2.441 MB / 0.6222 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.5734, allocations: 20 kB / 0.6222 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.5735, allocations: 4 kB / 0.6222 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/0.5735, allocations: 11.95 kB / 0.6223 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.5851, allocations: 4.041 MB / 0.6262 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.5852, allocations: 0 / 0.6262 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/0.5874, allocations: 395.5 kB / 0.6266 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004291/0.5917, allocations: 458.9 kB / 0.627 GB, free: 9.707 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002832/0.592, allocations: 51.97 kB / 0.6271 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.6037, allocations: 7.114 MB / 0.634 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6037, allocations: 4.031 kB / 0.634 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.614, allocations: 3.128 MB / 0.6371 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.6144, allocations: 127 kB / 0.6372 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/0.6148, allocations: 32 kB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.6159, allocations: 47.92 kB / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004009/0.6163, allocations: 141.7 kB / 0.6374 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002006/0.6165, allocations: 67.97 kB / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008233/0.6174, allocations: 0.5079 MB / 0.638 GB, free: 14 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6174, allocations: 0 / 0.638 GB, free: 14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003507/0.6209, allocations: 1.072 MB / 0.639 GB, free: 12.92 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (solution.temperature,H3O.logn,OH.logn,H2O.logn,solution1.temperature,H_.logn,OH_.logn,H2O_.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 (178): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002587/0.6235, allocations: 1.176 MB / 0.6402 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004364/0.6278, allocations: 2.14 MB / 0.6423 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6278, allocations: 0 / 0.6423 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002491/0.6303, allocations: 1.303 MB / 0.6435 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.6323, allocations: 310.4 kB / 0.6438 GB, free: 7.895 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/0.639, allocations: 3.203 MB / 0.647 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.6404, allocations: 1.277 MB / 0.6482 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001583/0.642, allocations: 350.4 kB / 0.6485 GB, free: 3.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/0.6426, allocations: 247.2 kB / 0.6488 GB, free: 2.762 MB / 494.1 MB Notification: Performance of SimCode: time 9.61e-07/0.6426, allocations: 4 kB / 0.6488 GB, free: 2.758 MB / 494.1 MB Notification: Performance of Templates: time 0.07124/0.7139, allocations: 39.95 MB / 0.6878 GB, free: 10.98 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.63125409046188] Failed to read output from testmodel.py, exit status != 0: 0.7236843933351338 0.743442763 0.301918792 Calling exit ...