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.001308/0.001308, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001399/0.001399, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1431/0.1431, allocations: 23.86 MB / 333.4 MB, free: 1.191 MB / 254.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.001984/0.001984, allocations: 67.91 kB / 467.2 MB, free: 30.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1087, allocations: 59.82 MB / 0.5146 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.01052/0.1192, allocations: 8.456 MB / 0.5229 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03204/0.1513, allocations: 24.29 MB / 0.5466 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.1527, allocations: 31.75 kB / 0.5466 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.1541, allocations: 0.5041 MB / 0.5471 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006465/0.1606, allocations: 2.173 MB / 0.5493 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008891/0.1694, allocations: 3.029 MB / 0.5522 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004214/0.1737, allocations: 2.438 MB / 0.5546 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.1756, allocations: 1.157 MB / 0.5557 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.1774, allocations: 1.231 MB / 0.5569 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002243/0.1796, allocations: 1.367 MB / 0.5583 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004241/0.1801, allocations: 216 kB / 0.5585 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008703/0.1888, allocations: 2.691 MB / 0.5611 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008711/0.1896, allocations: 0.5101 MB / 0.5616 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001775/0.1914, allocations: 1.081 MB / 0.5627 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.2062, allocations: 5.249 MB / 0.5678 GB, free: 5.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2062, allocations: 0 / 0.5678 GB, free: 5.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2062, allocations: 0 / 0.5678 GB, free: 5.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.651e-05/0.2062, allocations: 0 / 0.5678 GB, free: 5.754 MB / 430.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.006046/0.2123, allocations: 2.718 MB / 0.5704 GB, free: 2.973 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2123, allocations: 8.031 kB / 0.5704 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.2143, allocations: 423 kB / 0.5708 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.2161, allocations: 0.9716 MB / 0.5718 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.2163, allocations: 191.5 kB / 0.572 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.2166, allocations: 180.3 kB / 0.5721 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003896/0.2205, allocations: 2.089 MB / 0.5742 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.2205, allocations: 3.938 kB / 0.5742 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.2207, allocations: 72 kB / 0.5743 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.2208, allocations: 43.98 kB / 0.5743 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004721/0.2255, allocations: 2.604 MB / 0.5768 GB, free: 12.31 MB / 446.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.01239/0.2379, allocations: 6.655 MB / 0.5833 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005177/0.2431, allocations: 3.036 MB / 0.5863 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.2446, allocations: 0.8388 MB / 0.5871 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2648/0.5093, allocations: 8.154 MB / 0.5951 GB, free: 61.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.5094, allocations: 52.38 kB / 0.5951 GB, free: 61.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 4.548e-06/0.5094, allocations: 0.875 kB / 0.5951 GB, free: 61.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03238/0.5418, allocations: 7.032 MB / 0.602 GB, free: 58.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.5418, allocations: 96.95 kB / 0.6021 GB, free: 58.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.5433, allocations: 0.7919 MB / 0.6029 GB, free: 58.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002425/0.5435, allocations: 52.14 kB / 0.6029 GB, free: 58.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/0.544, allocations: 0.759 MB / 0.6037 GB, free: 57.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006707/0.5447, allocations: 0.6368 MB / 0.6043 GB, free: 57.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007784/0.5455, allocations: 361.9 kB / 0.6046 GB, free: 57.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.5455, allocations: 307.2 kB / 0.6049 GB, free: 57.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.5468, allocations: 0.6202 MB / 0.6055 GB, free: 56.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.5485, allocations: 1.131 MB / 0.6066 GB, free: 55.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/0.5513, allocations: 1.914 MB / 0.6085 GB, free: 54.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.376e-05/0.5513, allocations: 5.781 kB / 0.6085 GB, free: 54.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007585/0.5589, allocations: 2.477 MB / 0.6109 GB, free: 53.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.5589, allocations: 12.16 kB / 0.6109 GB, free: 53.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/0.5589, allocations: 15.03 kB / 0.611 GB, free: 53.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00377/0.5627, allocations: 469.2 kB / 0.6114 GB, free: 53.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/0.5652, allocations: 0.5213 MB / 0.6119 GB, free: 53.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008994/0.5742, allocations: 7.687 MB / 0.6194 GB, free: 46.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.5758, allocations: 60.75 kB / 0.6195 GB, free: 46.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003249/0.5761, allocations: 101.6 kB / 0.6196 GB, free: 46.62 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.0009202/0.577, allocations: 384.8 kB / 0.6199 GB, free: 46.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004333/0.5775, allocations: 145.8 kB / 0.6201 GB, free: 46.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007074/0.5845, allocations: 2.426 MB / 0.6224 GB, free: 45.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.5846, allocations: 23.53 kB / 0.6225 GB, free: 45.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.5846, allocations: 0 / 0.6225 GB, free: 45.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-05/0.5846, allocations: 7.969 kB / 0.6225 GB, free: 45.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008643/0.5932, allocations: 4.08 MB / 0.6265 GB, free: 42.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.5933, allocations: 0 / 0.6265 GB, free: 42.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/0.5952, allocations: 396.2 kB / 0.6268 GB, free: 42.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003763/0.599, allocations: 455.4 kB / 0.6273 GB, free: 42.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002473/0.5992, allocations: 47.77 kB / 0.6273 GB, free: 42.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008086/0.6073, allocations: 7.529 MB / 0.6347 GB, free: 35.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6073, allocations: 0 / 0.6347 GB, free: 35.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007907/0.6152, allocations: 3.139 MB / 0.6377 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.6156, allocations: 202.3 kB / 0.6379 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/0.6159, allocations: 37.72 kB / 0.638 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.6169, allocations: 36 kB / 0.638 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/0.6172, allocations: 145.8 kB / 0.6381 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.6174, allocations: 63.97 kB / 0.6382 GB, free: 31.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005442/0.6179, allocations: 0.504 MB / 0.6387 GB, free: 30.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6179, allocations: 0 / 0.6387 GB, free: 30.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003019/0.6209, allocations: 1.075 MB / 0.6397 GB, free: 29.86 MB / 446.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.001851/0.6228, allocations: 1.17 MB / 0.6409 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003203/0.626, allocations: 2.146 MB / 0.643 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.626, allocations: 4 kB / 0.643 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.6276, allocations: 1.302 MB / 0.6443 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.6291, allocations: 306.5 kB / 0.6446 GB, free: 24.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.6337, allocations: 3.244 MB / 0.6477 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.6342, allocations: 1.273 MB / 0.649 GB, free: 20.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007228/0.6349, allocations: 311.2 kB / 0.6493 GB, free: 20.09 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6349, allocations: 0 / 0.6493 GB, free: 20.09 MB / 446.1 MB Notification: Performance of Templates: time 0.06167/0.6966, allocations: 55.28 MB / 0.7032 GB, free: 12.88 MB / 494.1 MB " [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: 11.431678594992263] Failed to read output from testmodel.py, exit status != 0: 0.7047987059922889 0.7184937029999999 0.5092834159999999 Calling exit ...