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.0007712/0.0007712, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007557/0.0007557, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8202/0.8202, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.0792/0.0792, allocations: 17.37 MB / 277.3 MB, free: 11.83 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 412.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.868e-05, allocations: 6.219 kB / 412.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.00523/0.005249, allocations: 7.412 MB / 420.1 MB, free: 8.445 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.01974, allocations: 21.3 MB / 441.4 MB, free: 3.059 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006457/0.02039, allocations: 31.75 kB / 441.5 MB, free: 3.027 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008039/0.02119, allocations: 480.1 kB / 441.9 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.02449, allocations: 2.226 MB / 444.2 MB, free: 320 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.14/0.1645, allocations: 3.144 MB / 447.3 MB, free: 45.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.1663, allocations: 2.518 MB / 449.8 MB, free: 44.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007285/0.1671, allocations: 1.137 MB / 451 MB, free: 44.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008776/0.1679, allocations: 1.694 MB / 452.7 MB, free: 44.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007869/0.1687, allocations: 1.099 MB / 453.8 MB, free: 44.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.1689, allocations: 214.7 kB / 454 MB, free: 44.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.1726, allocations: 2.553 MB / 456.5 MB, free: 44.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.1729, allocations: 0.5204 MB / 457 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000415/0.1733, allocations: 0.7878 MB / 457.8 MB, free: 43.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004281/0.1776, allocations: 5.555 MB / 463.4 MB, free: 42.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1776, allocations: 0 / 463.4 MB, free: 42.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1776, allocations: 4 kB / 463.4 MB, free: 42.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.1776, allocations: 0 / 463.4 MB, free: 42.13 MB / 410.7 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.002425/0.18, allocations: 2.614 MB / 466 MB, free: 40.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1801, allocations: 9.5 kB / 466 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008704/0.1809, allocations: 427.1 kB / 466.4 MB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008463/0.1818, allocations: 0.9021 MB / 467.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1819, allocations: 248.5 kB / 467.6 MB, free: 39.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.1821, allocations: 181.7 kB / 467.7 MB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.1838, allocations: 2.087 MB / 469.8 MB, free: 38.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.1838, allocations: 192 / 469.8 MB, free: 38.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.1839, allocations: 72.28 kB / 469.9 MB, free: 38.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.184, allocations: 45.03 kB / 469.9 MB, free: 38.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.1861, allocations: 2.581 MB / 472.5 MB, free: 38.17 MB / 410.7 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.004838/0.1909, allocations: 5.241 MB / 477.8 MB, free: 35.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.1935, allocations: 2.536 MB / 480.3 MB, free: 34.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007693/0.1942, allocations: 0.8364 MB / 481.1 MB, free: 34.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004772/0.199, allocations: 4.243 MB / 485.4 MB, free: 32.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.199, allocations: 53.72 kB / 485.4 MB, free: 32.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 2.525e-06/0.199, allocations: 0 / 485.4 MB, free: 32.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.0133/0.2123, allocations: 6.718 MB / 492.2 MB, free: 29.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2124, allocations: 100.1 kB / 492.3 MB, free: 29.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/0.2129, allocations: 0.7424 MB / 493 MB, free: 29.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.576e-05/0.213, allocations: 56.55 kB / 493 MB, free: 29.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.2133, allocations: 0.7666 MB / 493.8 MB, free: 28.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.2135, allocations: 0.6275 MB / 494.4 MB, free: 28.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/0.2138, allocations: 361.3 kB / 494.8 MB, free: 28.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.2139, allocations: 358.2 kB / 495.1 MB, free: 27.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007131/0.2146, allocations: 0.6179 MB / 495.8 MB, free: 27.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008567/0.2155, allocations: 1.132 MB / 496.9 MB, free: 26.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.217, allocations: 1.917 MB / 498.8 MB, free: 25.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.2171, allocations: 6.156 kB / 498.8 MB, free: 25.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003519/0.2206, allocations: 2.471 MB / 0.4895 GB, free: 24.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.2206, allocations: 13.61 kB / 0.4896 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.2206, allocations: 12.88 kB / 0.4896 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.2222, allocations: 472.5 kB / 0.49 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.2233, allocations: 0.5248 MB / 0.4905 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004789/0.2281, allocations: 7.122 MB / 0.4975 GB, free: 18.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/0.2287, allocations: 62.83 kB / 0.4975 GB, free: 18.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.2288, allocations: 109.2 kB / 0.4976 GB, free: 18.23 MB / 410.7 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.0004488/0.2293, allocations: 372.6 kB / 0.498 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.2294, allocations: 135.4 kB / 0.4981 GB, free: 17.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003697/0.2331, allocations: 2.423 MB / 0.5005 GB, free: 16.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.2331, allocations: 19.62 kB / 0.5005 GB, free: 16.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2331, allocations: 2 kB / 0.5005 GB, free: 16.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.2331, allocations: 16.84 kB / 0.5005 GB, free: 16.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/0.2377, allocations: 3.617 MB / 0.5041 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2378, allocations: 0 / 0.5041 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009141/0.2387, allocations: 389.9 kB / 0.5044 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.2401, allocations: 457.7 kB / 0.5049 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.2402, allocations: 57.39 kB / 0.5049 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003949/0.2442, allocations: 6.949 MB / 0.5117 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2442, allocations: 64 / 0.5117 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/0.2479, allocations: 3.141 MB / 0.5148 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.248, allocations: 115.1 kB / 0.5149 GB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.784e-05/0.2481, allocations: 39.19 kB / 0.5149 GB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.2485, allocations: 40 kB / 0.515 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.2487, allocations: 144.6 kB / 0.5151 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.458e-05/0.2487, allocations: 71.03 kB / 0.5152 GB, free: 3.504 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003109/0.249, allocations: 469.7 kB / 0.5156 GB, free: 3.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.249, allocations: 0 / 0.5156 GB, free: 3.113 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002077/0.2511, allocations: 1.07 MB / 0.5167 GB, free: 2.062 MB / 410.7 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.001252/0.2524, allocations: 1.21 MB / 0.5178 GB, free: 1.109 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.2545, allocations: 2.141 MB / 0.5199 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2545, allocations: 2.156 kB / 0.5199 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.2556, allocations: 1.306 MB / 0.5212 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008399/0.2564, allocations: 300.8 kB / 0.5215 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.2598, allocations: 3.099 MB / 0.5245 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.2603, allocations: 0.6935 MB / 0.5252 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.2607, allocations: 317 kB / 0.5255 GB, free: 9.992 MB / 426.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2607, allocations: 0 / 0.5255 GB, free: 9.992 MB / 426.7 MB Notification: Performance of Templates: time 0.03635/0.2971, allocations: 56.02 MB / 0.5802 GB, free: 2.09 MB / 474.7 MB " [Timeout remaining time 660] 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.309176461771131] Failed to read output from testmodel.py, exit status != 0: 0.3021296551451087 0.309908659 0.13076188900000002 Calling exit ...