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.001385/0.001385, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001477/0.001477, allocations: 211.5 kB / 22.99 MB, free: 4.953 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1363/0.1363, allocations: 23.93 MB / 337.1 MB, free: 10.91 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.002038/0.002038, allocations: 75.02 kB / 472.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3033, allocations: 59.88 MB / 0.5198 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007387/0.3106, allocations: 7.44 MB / 0.5271 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02832/0.339, allocations: 21.31 MB / 0.5479 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.341, allocations: 33.06 kB / 0.5479 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.3426, allocations: 477.6 kB / 0.5484 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00997/0.3526, allocations: 2.15 MB / 0.5505 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01029/0.3629, allocations: 3.067 MB / 0.5535 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004693/0.3676, allocations: 2.438 MB / 0.5559 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.3697, allocations: 1.143 MB / 0.557 GB, free: 284 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.3721, allocations: 1.231 MB / 0.5582 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.3749, allocations: 1.368 MB / 0.5595 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004409/0.3754, allocations: 215.2 kB / 0.5597 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008673/0.384, allocations: 2.58 MB / 0.5623 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006556/0.3847, allocations: 0.517 MB / 0.5628 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001995/0.3867, allocations: 0.9072 MB / 0.5636 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0165/0.4032, allocations: 5.241 MB / 0.5688 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4032, allocations: 0 / 0.5688 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4032, allocations: 0 / 0.5688 GB, free: 7.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.203e-05/0.4032, allocations: 0 / 0.5688 GB, free: 7.418 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.005271/0.4085, allocations: 2.643 MB / 0.5713 GB, free: 4.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4085, allocations: 8.031 kB / 0.5713 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.4105, allocations: 427 kB / 0.5718 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.4122, allocations: 0.906 MB / 0.5726 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.4125, allocations: 238.9 kB / 0.5729 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003386/0.4128, allocations: 184.3 kB / 0.573 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/0.4164, allocations: 2.089 MB / 0.5751 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.4164, allocations: 0 / 0.5751 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.4166, allocations: 75.94 kB / 0.5752 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.4166, allocations: 44 kB / 0.5752 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004201/0.4208, allocations: 2.581 MB / 0.5777 GB, free: 14.11 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.01051/0.4313, allocations: 5.25 MB / 0.5828 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004799/0.4361, allocations: 2.531 MB / 0.5853 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.4375, allocations: 0.8353 MB / 0.5861 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.4478, allocations: 4.244 MB / 0.5903 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.4479, allocations: 51.88 kB / 0.5903 GB, free: 1.039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.687e-06/0.4479, allocations: 0 / 0.5903 GB, free: 1.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03325/0.4811, allocations: 6.733 MB / 0.5969 GB, free: 10.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.4812, allocations: 99.11 kB / 0.597 GB, free: 10.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009966/0.4822, allocations: 0.747 MB / 0.5977 GB, free: 9.367 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.4824, allocations: 57.7 kB / 0.5978 GB, free: 9.305 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005625/0.483, allocations: 0.7584 MB / 0.5985 GB, free: 8.535 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005927/0.4836, allocations: 0.6391 MB / 0.5991 GB, free: 7.891 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000547/0.4841, allocations: 367.5 kB / 0.5995 GB, free: 7.523 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4843, allocations: 353.9 kB / 0.5998 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.4854, allocations: 0.617 MB / 0.6004 GB, free: 6.551 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.487, allocations: 1.133 MB / 0.6015 GB, free: 5.191 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002881/0.4899, allocations: 1.913 MB / 0.6034 GB, free: 3.062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.4899, allocations: 4 kB / 0.6034 GB, free: 3.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008069/0.498, allocations: 2.472 MB / 0.6058 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.498, allocations: 12 kB / 0.6058 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.498, allocations: 16 kB / 0.6059 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004234/0.5023, allocations: 471.3 kB / 0.6063 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/0.5049, allocations: 0.5188 MB / 0.6068 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.5165, allocations: 7.133 MB / 0.6138 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.5181, allocations: 63.98 kB / 0.6138 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.5183, allocations: 108 kB / 0.6139 GB, free: 7.844 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.0007647/0.5191, allocations: 369.2 kB / 0.6143 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.5194, allocations: 135.1 kB / 0.6144 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008381/0.5278, allocations: 2.428 MB / 0.6168 GB, free: 4.891 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.5278, allocations: 16 kB / 0.6168 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.5278, allocations: 7.984 kB / 0.6168 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/0.5279, allocations: 11.97 kB / 0.6168 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.5382, allocations: 3.613 MB / 0.6204 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.5382, allocations: 0 / 0.6204 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00211/0.5403, allocations: 387.5 kB / 0.6207 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004292/0.5446, allocations: 470.8 kB / 0.6212 GB, free: 352 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.5448, allocations: 55.98 kB / 0.6212 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.5553, allocations: 6.953 MB / 0.628 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5553, allocations: 0 / 0.628 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009146/0.5644, allocations: 3.132 MB / 0.6311 GB, free: 5.777 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.5648, allocations: 115 kB / 0.6312 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.565, allocations: 39.88 kB / 0.6312 GB, free: 5.625 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009266/0.5659, allocations: 47.92 kB / 0.6313 GB, free: 5.578 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/0.5663, allocations: 145.7 kB / 0.6314 GB, free: 5.434 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.5665, allocations: 63.97 kB / 0.6315 GB, free: 5.371 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006138/0.5671, allocations: 471 kB / 0.6319 GB, free: 4.906 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5671, allocations: 0 / 0.6319 GB, free: 4.906 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003229/0.5703, allocations: 1.072 MB / 0.633 GB, free: 3.832 MB / 478.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.002299/0.5726, allocations: 1.172 MB / 0.6341 GB, free: 2.648 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004004/0.5766, allocations: 2.148 MB / 0.6362 GB, free: 468 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5766, allocations: 4 kB / 0.6362 GB, free: 464 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002222/0.5788, allocations: 1.303 MB / 0.6375 GB, free: 15.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.5804, allocations: 301.7 kB / 0.6378 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00557/0.586, allocations: 3.188 MB / 0.6409 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.5869, allocations: 0.6969 MB / 0.6416 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001279/0.5881, allocations: 346.6 kB / 0.6419 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/0.5887, allocations: 239.3 kB / 0.6421 GB, free: 10.28 MB / 494.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5887, allocations: 3.938 kB / 0.6421 GB, free: 10.27 MB / 494.1 MB Notification: Performance of Templates: time 0.06447/0.6532, allocations: 40.99 MB / 0.6822 GB, free: 1.594 MB / 0.5137 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.540156803006539] Failed to read output from testmodel.py, exit status != 0: 0.6624401129956823 0.677120022 0.270667716 Calling exit ...