Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 103.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00238/0.00238, allocations: 191.7 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0859/0.0859, allocations: 15.53 MB / 318.2 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.WaterSelfIonization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 445.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1501, allocations: 56.55 MB / 0.4902 GB, free: 4.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.WaterSelfIonization): time 0.01099/0.1611, allocations: 8.441 MB / 0.4984 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3146/0.4757, allocations: 24.22 MB / 0.5221 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.477, allocations: 28.69 kB / 0.5221 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.4786, allocations: 0.499 MB / 0.5226 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007192/0.4858, allocations: 2.169 MB / 0.5247 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.4967, allocations: 3.026 MB / 0.5277 GB, free: 5.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00499/0.5017, allocations: 2.437 MB / 0.5301 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002169/0.5039, allocations: 1.162 MB / 0.5312 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.5063, allocations: 1.206 MB / 0.5324 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003048/0.5094, allocations: 1.367 MB / 0.5337 GB, free: 3.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005/0.5099, allocations: 215.9 kB / 0.5339 GB, free: 3.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01235/0.5222, allocations: 2.695 MB / 0.5366 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009042/0.5231, allocations: 0.5124 MB / 0.5371 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001776/0.5249, allocations: 1.08 MB / 0.5381 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.539, allocations: 5.099 MB / 0.5431 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.539, allocations: 1.094 kB / 0.5431 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.539, allocations: 0 / 0.5431 GB, free: 15.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-05/0.539, allocations: 0 / 0.5431 GB, free: 15.75 MB / 398.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.007156/0.5462, allocations: 2.717 MB / 0.5457 GB, free: 13.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5462, allocations: 10.88 kB / 0.5458 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.5484, allocations: 422.1 kB / 0.5462 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.5506, allocations: 0.9614 MB / 0.5471 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.5508, allocations: 191.1 kB / 0.5473 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/0.5512, allocations: 185.5 kB / 0.5475 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004259/0.5554, allocations: 2.086 MB / 0.5495 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/0.5555, allocations: 1.891 kB / 0.5495 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/0.5557, allocations: 72.84 kB / 0.5496 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.5557, allocations: 42.06 kB / 0.5496 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/0.5603, allocations: 2.61 MB / 0.5522 GB, free: 10.34 MB / 398.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.01322/0.5735, allocations: 6.657 MB / 0.5587 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005354/0.5788, allocations: 3.033 MB / 0.5616 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.5803, allocations: 0.8313 MB / 0.5624 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/0.5936, allocations: 8.133 MB / 0.5704 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.5937, allocations: 56.5 kB / 0.5704 GB, free: 7.047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=144): time 3.507e-06/0.5937, allocations: 0 / 0.5704 GB, free: 7.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.03096/0.6246, allocations: 7.044 MB / 0.5773 GB, free: 15.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.6247, allocations: 95.11 kB / 0.5774 GB, free: 15.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.6261, allocations: 0.7807 MB / 0.5782 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003083/0.6264, allocations: 61.7 kB / 0.5782 GB, free: 14.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006593/0.627, allocations: 0.7623 MB / 0.579 GB, free: 14.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008255/0.6279, allocations: 0.639 MB / 0.5796 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006119/0.6285, allocations: 363.5 kB / 0.5799 GB, free: 13.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6286, allocations: 305.1 kB / 0.5802 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.6298, allocations: 0.6209 MB / 0.5808 GB, free: 12.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.6316, allocations: 1.133 MB / 0.5819 GB, free: 10.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/0.6349, allocations: 1.913 MB / 0.5838 GB, free: 8.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.6349, allocations: 7.938 kB / 0.5838 GB, free: 8.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007766/0.6426, allocations: 2.464 MB / 0.5862 GB, free: 6.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.6427, allocations: 12 kB / 0.5862 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.6427, allocations: 22.06 kB / 0.5862 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003673/0.6464, allocations: 479.4 kB / 0.5867 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/0.6491, allocations: 0.5227 MB / 0.5872 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.6614, allocations: 7.675 MB / 0.5947 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.6632, allocations: 68.05 kB / 0.5948 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/0.6634, allocations: 95.98 kB / 0.5949 GB, free: 12.78 MB / 446.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.001/0.6644, allocations: 373.2 kB / 0.5952 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/0.6649, allocations: 143.1 kB / 0.5954 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007943/0.6728, allocations: 2.433 MB / 0.5977 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.6729, allocations: 20 kB / 0.5978 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.6729, allocations: 0 / 0.5978 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-05/0.6729, allocations: 7.969 kB / 0.5978 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.6838, allocations: 4.074 MB / 0.6017 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.6838, allocations: 4.875 kB / 0.6017 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/0.686, allocations: 391.5 kB / 0.6021 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003675/0.6897, allocations: 454.9 kB / 0.6026 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003454/0.69, allocations: 55.91 kB / 0.6026 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/0.7018, allocations: 7.53 MB / 0.61 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7018, allocations: 0 / 0.61 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00922/0.711, allocations: 3.136 MB / 0.613 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006046/0.7116, allocations: 200.2 kB / 0.6132 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002936/0.7119, allocations: 39.98 kB / 0.6133 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009124/0.7128, allocations: 39.92 kB / 0.6133 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003975/0.7132, allocations: 133.8 kB / 0.6134 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.7134, allocations: 67.97 kB / 0.6135 GB, free: 9.012 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007615/0.7141, allocations: 0.504 MB / 0.614 GB, free: 8.496 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7141, allocations: 0 / 0.614 GB, free: 8.496 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003887/0.718, allocations: 1.079 MB / 0.615 GB, free: 7.414 MB / 462.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.002949/0.721, allocations: 1.159 MB / 0.6162 GB, free: 6.242 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004587/0.7256, allocations: 2.14 MB / 0.6183 GB, free: 4.059 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.7256, allocations: 3.938 kB / 0.6183 GB, free: 4.055 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.7279, allocations: 1.306 MB / 0.6195 GB, free: 2.695 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.7298, allocations: 304.4 kB / 0.6198 GB, free: 2.402 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006399/0.7362, allocations: 3.198 MB / 0.6229 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.7373, allocations: 1.28 MB / 0.6242 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001498/0.7388, allocations: 343.1 kB / 0.6245 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/0.7395, allocations: 243.3 kB / 0.6248 GB, free: 13.27 MB / 478.1 MB Notification: Performance of SimCode: time 1.753e-06/0.7395, allocations: 0 / 0.6248 GB, free: 13.27 MB / 478.1 MB Notification: Performance of Templates: time 0.0634/0.8029, allocations: 38.17 MB / 0.662 GB, free: 7.254 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_Chemical.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.953616373240948]