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.0008836/0.0008836, allocations: 76.5 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.0007835/0.0007835, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8446/0.8446, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.08355/0.08355, allocations: 17.44 MB / 277.4 MB, free: 11.78 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 412.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.571e-05, allocations: 6.219 kB / 412.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.005819/0.005845, allocations: 7.42 MB / 420.3 MB, free: 8.289 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01656/0.02241, allocations: 21.3 MB / 441.6 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.02346, allocations: 31.75 kB / 441.6 MB, free: 2.871 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009558/0.02441, allocations: 476.1 kB / 442.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004114/0.02852, allocations: 2.222 MB / 444.3 MB, free: 168 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1619/0.1904, allocations: 3.147 MB / 447.5 MB, free: 45.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002185/0.1926, allocations: 2.521 MB / 450 MB, free: 44.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.1937, allocations: 1.128 MB / 451.1 MB, free: 44.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.1951, allocations: 1.692 MB / 452.8 MB, free: 44.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009644/0.196, allocations: 1.098 MB / 453.9 MB, free: 44.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.1962, allocations: 215.4 kB / 454.1 MB, free: 44.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004365/0.2006, allocations: 2.552 MB / 456.7 MB, free: 44.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.2009, allocations: 0.5202 MB / 457.2 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005794/0.2015, allocations: 0.7912 MB / 458 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006844/0.2083, allocations: 5.556 MB / 463.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2083, allocations: 0 / 463.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2083, allocations: 0 / 463.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.129e-05/0.2083, allocations: 3.938 kB / 463.5 MB, free: 41.99 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.002838/0.2112, allocations: 2.611 MB / 466.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2112, allocations: 9.438 kB / 466.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009446/0.2122, allocations: 422 kB / 466.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/0.2131, allocations: 0.9157 MB / 467.5 MB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.2132, allocations: 237.3 kB / 467.7 MB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.2134, allocations: 185 kB / 467.9 MB, free: 39.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.2153, allocations: 2.085 MB / 470 MB, free: 38.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.2153, allocations: 3 kB / 470 MB, free: 38.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.2154, allocations: 70.12 kB / 470.1 MB, free: 38.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.2155, allocations: 46.88 kB / 470.1 MB, free: 38.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.2176, allocations: 2.579 MB / 472.7 MB, free: 38.04 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.00527/0.2229, allocations: 5.23 MB / 477.9 MB, free: 35.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.2255, allocations: 2.547 MB / 480.5 MB, free: 34.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000793/0.2263, allocations: 0.8282 MB / 481.3 MB, free: 34.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005184/0.2315, allocations: 4.248 MB / 485.5 MB, free: 32.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.2315, allocations: 46.5 kB / 485.6 MB, free: 32.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 3.216e-06/0.2315, allocations: 0 / 485.6 MB, free: 32.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.01462/0.2462, allocations: 6.744 MB / 492.3 MB, free: 29.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.2462, allocations: 103.8 kB / 492.4 MB, free: 29.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007302/0.2469, allocations: 0.7464 MB / 493.2 MB, free: 29.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001813/0.2471, allocations: 56.2 kB / 493.2 MB, free: 29.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.2474, allocations: 0.7599 MB / 494 MB, free: 28.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.2477, allocations: 0.6292 MB / 494.6 MB, free: 28.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004494/0.2482, allocations: 359.7 kB / 495 MB, free: 27.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.2482, allocations: 360.3 kB / 495.3 MB, free: 27.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/0.249, allocations: 0.6136 MB / 495.9 MB, free: 27.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009194/0.2499, allocations: 1.13 MB / 497.1 MB, free: 26.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.2515, allocations: 1.917 MB / 499 MB, free: 25.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.2515, allocations: 5.062 kB / 499 MB, free: 25.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003717/0.2552, allocations: 2.466 MB / 0.4897 GB, free: 24.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2552, allocations: 13.61 kB / 0.4897 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.2553, allocations: 16.84 kB / 0.4897 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.2569, allocations: 479.8 kB / 0.4902 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.2581, allocations: 0.5188 MB / 0.4907 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005001/0.2631, allocations: 7.123 MB / 0.4976 GB, free: 18.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.2642, allocations: 62.62 kB / 0.4977 GB, free: 18.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.2643, allocations: 101 kB / 0.4978 GB, free: 18.09 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.0005902/0.2649, allocations: 370.2 kB / 0.4981 GB, free: 17.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.2651, allocations: 135.5 kB / 0.4983 GB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0038/0.2689, allocations: 2.423 MB / 0.5006 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.2689, allocations: 25.94 kB / 0.5007 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2689, allocations: 0.7031 kB / 0.5007 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.2689, allocations: 12.75 kB / 0.5007 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004913/0.2738, allocations: 3.607 MB / 0.5042 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.2738, allocations: 0.5625 kB / 0.5042 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009678/0.2748, allocations: 396.9 kB / 0.5046 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/0.2763, allocations: 463.7 kB / 0.505 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.2763, allocations: 51.41 kB / 0.5051 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004174/0.2805, allocations: 6.952 MB / 0.5119 GB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.2805, allocations: 0 / 0.5119 GB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003933/0.2845, allocations: 3.141 MB / 0.5149 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.2847, allocations: 111.1 kB / 0.515 GB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.937e-05/0.2848, allocations: 39.89 kB / 0.5151 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.2852, allocations: 36 kB / 0.5151 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.2854, allocations: 154.3 kB / 0.5153 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.2855, allocations: 61.72 kB / 0.5153 GB, free: 3.316 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003506/0.2858, allocations: 471.1 kB / 0.5158 GB, free: 2.926 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2858, allocations: 0 / 0.5158 GB, free: 2.926 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002213/0.2881, allocations: 1.074 MB / 0.5168 GB, free: 1.871 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.001351/0.2894, allocations: 1.213 MB / 0.518 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.292, allocations: 2.167 MB / 0.5201 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.292, allocations: 0 / 0.5201 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.2932, allocations: 1.312 MB / 0.5214 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009125/0.2941, allocations: 297 kB / 0.5217 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.2978, allocations: 3.095 MB / 0.5247 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.2982, allocations: 0.6999 MB / 0.5254 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/0.2987, allocations: 316.4 kB / 0.5257 GB, free: 9.801 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2987, allocations: 0 / 0.5257 GB, free: 9.801 MB / 426.7 MB Notification: Performance of Templates: time 0.03844/0.3372, allocations: 56.01 MB / 0.5804 GB, free: 1.906 MB / 474.7 MB " [Timeout remaining time 660] 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: 6.366384166292846] Failed to read output from testmodel.py, exit status != 0: 0.3435352062806487 0.357323037 0.146097329 Calling exit ...