Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001304/0.001304, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001447/0.001447, allocations: 211.8 kB / 22.99 MB, free: 4.984 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1359/0.1359, allocations: 23.88 MB / 337.1 MB, free: 11 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.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.001941/0.001941, allocations: 63.89 kB / 472.4 MB, free: 7.055 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3197, allocations: 59.86 MB / 0.5198 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007682/0.3274, allocations: 7.443 MB / 0.527 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02916/0.3566, allocations: 21.31 MB / 0.5478 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.3584, allocations: 27.97 kB / 0.5479 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.36, allocations: 477.7 kB / 0.5483 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00747/0.3675, allocations: 2.148 MB / 0.5504 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.3779, allocations: 3.078 MB / 0.5534 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004622/0.3825, allocations: 2.438 MB / 0.5558 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.3847, allocations: 1.135 MB / 0.5569 GB, free: 312 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.3875, allocations: 1.229 MB / 0.5581 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00324/0.3907, allocations: 1.365 MB / 0.5594 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.3918, allocations: 215 kB / 0.5597 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009136/0.4009, allocations: 2.599 MB / 0.5622 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009091/0.4018, allocations: 0.5086 MB / 0.5627 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002106/0.4039, allocations: 0.9146 MB / 0.5636 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.4176, allocations: 5.233 MB / 0.5687 GB, free: 7.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4176, allocations: 0 / 0.5687 GB, free: 7.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4176, allocations: 7.875 kB / 0.5687 GB, free: 7.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.724e-05/0.4177, allocations: 0 / 0.5687 GB, free: 7.555 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.00596/0.4236, allocations: 2.639 MB / 0.5713 GB, free: 4.871 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4237, allocations: 8.031 kB / 0.5713 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.4257, allocations: 423 kB / 0.5717 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.4275, allocations: 0.906 MB / 0.5726 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.4277, allocations: 242.9 kB / 0.5728 GB, free: 3.254 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003499/0.4281, allocations: 180.3 kB / 0.573 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/0.4316, allocations: 2.093 MB / 0.575 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.4317, allocations: 0 / 0.575 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.4319, allocations: 72 kB / 0.5751 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-05/0.4319, allocations: 44 kB / 0.5751 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004222/0.4361, allocations: 2.573 MB / 0.5776 GB, free: 14.27 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.01041/0.4465, allocations: 5.258 MB / 0.5828 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004653/0.4512, allocations: 2.523 MB / 0.5852 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.4526, allocations: 0.8351 MB / 0.5861 GB, free: 5.523 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009769/0.4623, allocations: 4.244 MB / 0.5902 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.4624, allocations: 43.88 kB / 0.5902 GB, free: 1.199 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.847e-06/0.4624, allocations: 0 / 0.5902 GB, free: 1.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.0328/0.4952, allocations: 6.746 MB / 0.5968 GB, free: 10.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.4953, allocations: 99.11 kB / 0.5969 GB, free: 10.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009627/0.4962, allocations: 0.7431 MB / 0.5976 GB, free: 9.516 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.4964, allocations: 57.7 kB / 0.5977 GB, free: 9.453 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/0.4969, allocations: 0.7584 MB / 0.5984 GB, free: 8.684 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005639/0.4975, allocations: 0.6391 MB / 0.5991 GB, free: 8.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000548/0.498, allocations: 363.5 kB / 0.5994 GB, free: 7.676 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4982, allocations: 353.9 kB / 0.5998 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.4993, allocations: 0.6209 MB / 0.6004 GB, free: 6.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.5009, allocations: 1.137 MB / 0.6015 GB, free: 5.336 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/0.5038, allocations: 1.913 MB / 0.6033 GB, free: 3.207 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.5038, allocations: 4 kB / 0.6033 GB, free: 3.203 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008025/0.5119, allocations: 2.472 MB / 0.6058 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.5119, allocations: 18.94 kB / 0.6058 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.5119, allocations: 20 kB / 0.6058 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004404/0.5163, allocations: 466.9 kB / 0.6062 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/0.519, allocations: 0.5227 MB / 0.6067 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.5313, allocations: 7.121 MB / 0.6137 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.5329, allocations: 63.98 kB / 0.6138 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/0.5332, allocations: 108 kB / 0.6139 GB, free: 7.992 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.0008252/0.534, allocations: 369.3 kB / 0.6142 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/0.5344, allocations: 135.1 kB / 0.6143 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008761/0.5432, allocations: 2.433 MB / 0.6167 GB, free: 5.031 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/0.5432, allocations: 20 kB / 0.6167 GB, free: 5.012 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.5432, allocations: 0 / 0.6167 GB, free: 5.012 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.539e-05/0.5432, allocations: 7.969 kB / 0.6168 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.5543, allocations: 3.609 MB / 0.6203 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.5543, allocations: 0 / 0.6203 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/0.5566, allocations: 395.5 kB / 0.6207 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004298/0.5609, allocations: 462.8 kB / 0.6211 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/0.5611, allocations: 55.97 kB / 0.6211 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/0.5722, allocations: 6.953 MB / 0.6279 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5722, allocations: 0 / 0.6279 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009372/0.5816, allocations: 3.14 MB / 0.631 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.5821, allocations: 123 kB / 0.6311 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.5823, allocations: 35.94 kB / 0.6312 GB, free: 5.766 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000925/0.5832, allocations: 32 kB / 0.6312 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003552/0.5836, allocations: 149.7 kB / 0.6313 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.5837, allocations: 59.98 kB / 0.6314 GB, free: 5.527 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006456/0.5844, allocations: 471 kB / 0.6318 GB, free: 5.062 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5844, allocations: 0 / 0.6318 GB, free: 5.062 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003322/0.5877, allocations: 1.075 MB / 0.6329 GB, free: 3.984 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.002324/0.59, allocations: 1.171 MB / 0.634 GB, free: 2.805 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004108/0.5941, allocations: 2.144 MB / 0.6361 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5941, allocations: 4 kB / 0.6361 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002145/0.5963, allocations: 1.302 MB / 0.6374 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.5977, allocations: 310.8 kB / 0.6377 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/0.6032, allocations: 3.187 MB / 0.6408 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/0.604, allocations: 0.7008 MB / 0.6415 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001259/0.6052, allocations: 342.7 kB / 0.6418 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/0.6058, allocations: 243.2 kB / 0.642 GB, free: 10.43 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6058, allocations: 0 / 0.642 GB, free: 10.43 MB / 494.1 MB Notification: Performance of Templates: time 0.06344/0.6692, allocations: 41 MB / 0.6821 GB, free: 1.738 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.474768254993251] Failed to read output from testmodel.py, exit status != 0: 0.6785287670063553 0.692682475 0.27179115299999995 Calling exit ...