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.001705/0.001705, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001715/0.001715, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.1368/0.1368, allocations: 23.9 MB / 333.4 MB, free: 1.191 MB / 254.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.002024/0.002024, allocations: 68.95 kB / 467.2 MB, free: 30.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/0.09156, allocations: 59.84 MB / 0.5147 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.01041/0.102, allocations: 8.456 MB / 0.523 GB, free: 3.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03026/0.1322, allocations: 24.29 MB / 0.5467 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009284/0.1332, allocations: 27.75 kB / 0.5467 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.1344, allocations: 0.5079 MB / 0.5472 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005135/0.1395, allocations: 2.177 MB / 0.5493 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007442/0.147, allocations: 3.025 MB / 0.5523 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002939/0.1499, allocations: 2.438 MB / 0.5547 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.1513, allocations: 1.149 MB / 0.5558 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.1526, allocations: 1.235 MB / 0.557 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.1544, allocations: 1.367 MB / 0.5583 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003503/0.1548, allocations: 212 kB / 0.5585 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00708/0.1619, allocations: 2.691 MB / 0.5612 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005097/0.1624, allocations: 0.5102 MB / 0.5617 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.1635, allocations: 1.077 MB / 0.5627 GB, free: 11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008204/0.1717, allocations: 5.249 MB / 0.5679 GB, free: 5.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1717, allocations: 3.938 kB / 0.5679 GB, free: 5.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1717, allocations: 0 / 0.5679 GB, free: 5.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.1717, allocations: 4 kB / 0.5679 GB, free: 5.727 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.005312/0.1771, allocations: 2.714 MB / 0.5705 GB, free: 2.949 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1771, allocations: 8.031 kB / 0.5705 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.179, allocations: 423 kB / 0.5709 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.1806, allocations: 0.9794 MB / 0.5719 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.1808, allocations: 183.5 kB / 0.5721 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.1811, allocations: 188.3 kB / 0.5722 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/0.1848, allocations: 2.089 MB / 0.5743 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.1849, allocations: 0 / 0.5743 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.1851, allocations: 72 kB / 0.5743 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.1851, allocations: 44 kB / 0.5744 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004644/0.1897, allocations: 2.604 MB / 0.5769 GB, free: 12.29 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.01134/0.2011, allocations: 6.663 MB / 0.5834 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005213/0.2063, allocations: 3.036 MB / 0.5864 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.2078, allocations: 0.8353 MB / 0.5872 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2141/0.4218, allocations: 8.148 MB / 0.5952 GB, free: 61.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.4219, allocations: 53.16 kB / 0.5952 GB, free: 61.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 2.765e-06/0.4219, allocations: 0 / 0.5952 GB, free: 61.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.02926/0.4511, allocations: 7.035 MB / 0.6021 GB, free: 58.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.4512, allocations: 97.5 kB / 0.6022 GB, free: 58.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009429/0.4521, allocations: 0.7882 MB / 0.603 GB, free: 58.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.557e-05/0.4522, allocations: 55.2 kB / 0.603 GB, free: 58.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.4526, allocations: 0.7611 MB / 0.6037 GB, free: 57.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/0.453, allocations: 0.6383 MB / 0.6044 GB, free: 57.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005496/0.4535, allocations: 363 kB / 0.6047 GB, free: 57.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.4536, allocations: 306.1 kB / 0.605 GB, free: 57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.4546, allocations: 0.6176 MB / 0.6056 GB, free: 56.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.456, allocations: 1.13 MB / 0.6067 GB, free: 55.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/0.4586, allocations: 1.921 MB / 0.6086 GB, free: 54.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.4587, allocations: 3.75 kB / 0.6086 GB, free: 54.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007146/0.4658, allocations: 2.471 MB / 0.611 GB, free: 53.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4658, allocations: 10.97 kB / 0.611 GB, free: 53.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.4658, allocations: 16.25 kB / 0.611 GB, free: 53.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003859/0.4697, allocations: 471.2 kB / 0.6115 GB, free: 53.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.4721, allocations: 0.5259 MB / 0.612 GB, free: 53.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008855/0.4809, allocations: 7.681 MB / 0.6195 GB, free: 46.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.4821, allocations: 64.66 kB / 0.6196 GB, free: 46.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.4822, allocations: 102.4 kB / 0.6197 GB, free: 46.56 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.0005742/0.4828, allocations: 371.6 kB / 0.62 GB, free: 46.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.4831, allocations: 146.1 kB / 0.6202 GB, free: 46.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00725/0.4903, allocations: 2.424 MB / 0.6225 GB, free: 45.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4903, allocations: 23.48 kB / 0.6225 GB, free: 45.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4903, allocations: 3.938 kB / 0.6225 GB, free: 45.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.4904, allocations: 9.047 kB / 0.6226 GB, free: 45.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008342/0.4987, allocations: 4.075 MB / 0.6265 GB, free: 42.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.4987, allocations: 3.719 kB / 0.6265 GB, free: 42.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/0.5007, allocations: 392.2 kB / 0.6269 GB, free: 42.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003651/0.5043, allocations: 452.9 kB / 0.6273 GB, free: 42.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.5044, allocations: 58.44 kB / 0.6274 GB, free: 42.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008039/0.5125, allocations: 7.522 MB / 0.6347 GB, free: 35.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5125, allocations: 9.906 kB / 0.6348 GB, free: 35.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007239/0.5197, allocations: 3.136 MB / 0.6378 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.5199, allocations: 202.4 kB / 0.638 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.5201, allocations: 35.94 kB / 0.638 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/0.521, allocations: 39.98 kB / 0.6381 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/0.5212, allocations: 141.8 kB / 0.6382 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.5213, allocations: 59.98 kB / 0.6383 GB, free: 31.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004716/0.5218, allocations: 0.5118 MB / 0.6388 GB, free: 30.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5218, allocations: 0 / 0.6388 GB, free: 30.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002616/0.5244, allocations: 1.074 MB / 0.6398 GB, free: 29.85 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.001573/0.526, allocations: 1.175 MB / 0.641 GB, free: 28.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002992/0.529, allocations: 2.137 MB / 0.6431 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.529, allocations: 0 / 0.6431 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.5306, allocations: 1.314 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.001318/0.5319, allocations: 303.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.00415/0.5361, allocations: 3.239 MB / 0.6478 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.5365, allocations: 1.273 MB / 0.649 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00067/0.5372, allocations: 315.3 kB / 0.6493 GB, free: 20.1 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5372, allocations: 0 / 0.6493 GB, free: 20.1 MB / 446.1 MB Notification: Performance of Templates: time 0.05808/0.5953, allocations: 55.28 MB / 0.7033 GB, free: 12.89 MB / 494.1 MB " [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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.673913102014922] Failed to read output from testmodel.py, exit status != 0: 0.6031520210090093 0.6174685510000001 0.44277597100000005 Calling exit ...