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.001301/0.001301, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001527/0.001527, allocations: 211.9 kB / 22.24 MB, free: 5.242 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.809 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.1409/0.1409, allocations: 23.9 MB / 336.3 MB, free: 10.94 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.002204/0.002204, allocations: 71.89 kB / 471.6 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.313, allocations: 59.86 MB / 0.519 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007117/0.3201, allocations: 7.44 MB / 0.5263 GB, free: 4.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0273/0.3474, allocations: 21.31 MB / 0.5471 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.3489, allocations: 30.06 kB / 0.5471 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.3503, allocations: 472.2 kB / 0.5476 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006528/0.3569, allocations: 2.156 MB / 0.5497 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009065/0.3659, allocations: 3.072 MB / 0.5527 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003881/0.3698, allocations: 2.433 MB / 0.5551 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.3715, allocations: 1.123 MB / 0.5562 GB, free: 348 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.3732, allocations: 1.226 MB / 0.5574 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.3756, allocations: 1.232 MB / 0.5586 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005021/0.3761, allocations: 215.5 kB / 0.5588 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0089/0.385, allocations: 2.522 MB / 0.5612 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006896/0.3857, allocations: 0.5196 MB / 0.5617 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.3872, allocations: 0.9117 MB / 0.5626 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.3988, allocations: 5.237 MB / 0.5677 GB, free: 7.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3989, allocations: 0 / 0.5677 GB, free: 7.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3989, allocations: 0 / 0.5677 GB, free: 7.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.3989, allocations: 0 / 0.5677 GB, free: 7.707 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.005151/0.404, allocations: 2.639 MB / 0.5703 GB, free: 5.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.4041, allocations: 8.031 kB / 0.5703 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.4058, allocations: 423 kB / 0.5707 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.4076, allocations: 0.9061 MB / 0.5716 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.4078, allocations: 242.9 kB / 0.5718 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.4081, allocations: 184.3 kB / 0.572 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.4116, allocations: 2.081 MB / 0.5741 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.4116, allocations: 3.938 kB / 0.5741 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.4118, allocations: 72 kB / 0.5741 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.4118, allocations: 40 kB / 0.5742 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004265/0.4161, allocations: 2.584 MB / 0.5767 GB, free: 14.41 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.01012/0.4262, allocations: 5.246 MB / 0.5818 GB, free: 9.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004697/0.4309, allocations: 2.527 MB / 0.5843 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.4322, allocations: 0.8275 MB / 0.5851 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00947/0.4417, allocations: 4.248 MB / 0.5892 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.4418, allocations: 51.88 kB / 0.5893 GB, free: 1.348 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.376e-06/0.4418, allocations: 0 / 0.5893 GB, free: 1.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.02849/0.4703, allocations: 6.742 MB / 0.5959 GB, free: 10.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.4703, allocations: 95.11 kB / 0.596 GB, free: 10.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009628/0.4713, allocations: 0.747 MB / 0.5967 GB, free: 9.672 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.4714, allocations: 57.7 kB / 0.5967 GB, free: 9.609 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.472, allocations: 0.7584 MB / 0.5975 GB, free: 8.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006051/0.4726, allocations: 0.643 MB / 0.5981 GB, free: 8.191 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005692/0.4732, allocations: 363.5 kB / 0.5985 GB, free: 7.828 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.4734, allocations: 353.9 kB / 0.5988 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.4745, allocations: 0.6209 MB / 0.5994 GB, free: 6.852 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.4762, allocations: 1.126 MB / 0.6005 GB, free: 5.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/0.4792, allocations: 1.921 MB / 0.6024 GB, free: 3.363 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.4792, allocations: 7.938 kB / 0.6024 GB, free: 3.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007459/0.4867, allocations: 2.464 MB / 0.6048 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.4867, allocations: 12 kB / 0.6048 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.4867, allocations: 16.09 kB / 0.6048 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003708/0.4904, allocations: 474.9 kB / 0.6053 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/0.4929, allocations: 0.5227 MB / 0.6058 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.504, allocations: 7.136 MB / 0.6127 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.5053, allocations: 63.98 kB / 0.6128 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.5055, allocations: 104 kB / 0.6129 GB, free: 8.145 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.0007192/0.5062, allocations: 373.2 kB / 0.6133 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.5065, allocations: 139.2 kB / 0.6134 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007568/0.5141, allocations: 2.421 MB / 0.6158 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.5141, allocations: 23.92 kB / 0.6158 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5141, allocations: 4 kB / 0.6158 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.5141, allocations: 7.969 kB / 0.6158 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009513/0.5237, allocations: 3.613 MB / 0.6193 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5237, allocations: 0 / 0.6193 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/0.5257, allocations: 391.5 kB / 0.6197 GB, free: 1.109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003619/0.5293, allocations: 466.8 kB / 0.6201 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.5294, allocations: 47.98 kB / 0.6202 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.5395, allocations: 6.965 MB / 0.627 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5395, allocations: 0 / 0.627 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008277/0.5478, allocations: 3.136 MB / 0.6301 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.5481, allocations: 115 kB / 0.6302 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.5483, allocations: 39.92 kB / 0.6302 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008166/0.5491, allocations: 36 kB / 0.6302 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/0.5494, allocations: 153.6 kB / 0.6304 GB, free: 5.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.5495, allocations: 63.97 kB / 0.6304 GB, free: 5.664 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006235/0.5502, allocations: 471 kB / 0.6309 GB, free: 5.199 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5502, allocations: 0 / 0.6309 GB, free: 5.199 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002913/0.5531, allocations: 1.075 MB / 0.6319 GB, free: 4.121 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.002069/0.5551, allocations: 1.172 MB / 0.6331 GB, free: 2.938 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003744/0.5589, allocations: 2.132 MB / 0.6352 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5589, allocations: 4 kB / 0.6352 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.5609, allocations: 1.306 MB / 0.6364 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.5623, allocations: 297.5 kB / 0.6367 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005321/0.5677, allocations: 3.192 MB / 0.6398 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007703/0.5684, allocations: 0.6968 MB / 0.6405 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001211/0.5696, allocations: 349.9 kB / 0.6409 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/0.5702, allocations: 239.3 kB / 0.6411 GB, free: 10.59 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5702, allocations: 0 / 0.6411 GB, free: 10.59 MB / 494.1 MB Notification: Performance of Templates: time 0.06171/0.6319, allocations: 40.41 MB / 0.6806 GB, free: 2.484 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.355224879458547] Failed to read output from testmodel.py, exit status != 0: 0.6408737562596798 0.655214959 0.253128619 Calling exit ...