Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.WaterSelfIonization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1189/0.1189, allocations: 15.26 MB / 31.21 MB, free: 3.227 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 177.5 kB / 36.3 MB, free: 2.262 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 264.5 MB, free: 5.805 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008973, allocations: 94.33 kB / 319.9 MB, free: 2.781 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 15.62 kB / 385.2 MB, free: 50.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1172, allocations: 54.65 MB / 439.8 MB, free: 12 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4225/0.5398, allocations: 100.2 MB / 0.5273 GB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.5401, allocations: 72.86 kB / 0.5274 GB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.16/0.7001, allocations: 68.55 MB / 0.5944 GB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7001, allocations: 0 / 0.5944 GB, free: 10.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001346/0.7003, allocations: 40 kB / 0.5944 GB, free: 10.87 MB / 394.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.006814/0.7071, allocations: 2.166 MB / 0.5965 GB, free: 8.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.7072, allocations: 8.875 kB / 0.5965 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/0.7098, allocations: 471.3 kB / 0.597 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/0.7129, allocations: 1.097 MB / 0.598 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.7132, allocations: 198.8 kB / 0.5982 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006694/0.7139, allocations: 180.4 kB / 0.5984 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006037/0.7199, allocations: 3.054 MB / 0.6014 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-05/0.72, allocations: 3.938 kB / 0.6014 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.7202, allocations: 72 kB / 0.6015 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.241e-05/0.7203, allocations: 48 kB / 0.6015 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006119/0.7264, allocations: 4.318 MB / 0.6057 GB, free: 15.7 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.01452/0.7409, allocations: 8.794 MB / 0.6143 GB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005307/0.7463, allocations: 4.051 MB / 0.6183 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.7484, allocations: 1.546 MB / 0.6198 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007716/0.7491, allocations: 0.4928 MB / 0.6202 GB, free: 408 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.7492, allocations: 56.55 kB / 0.6203 GB, free: 344 kB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 3.947e-06/0.7492, allocations: 0 / 0.6203 GB, free: 344 kB / 410.7 MB Notification: Performance of matching and sorting (n=270): time 0.04394/0.7932, allocations: 13.71 MB / 0.6337 GB, free: 2.473 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.7933, allocations: 107.7 kB / 0.6338 GB, free: 2.348 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.7945, allocations: 0.8288 MB / 0.6346 GB, free: 1.512 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004504/0.7949, allocations: 69.7 kB / 0.6347 GB, free: 1.438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.7954, allocations: 0.5799 MB / 0.6352 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001145/0.7966, allocations: 0.8931 MB / 0.6361 GB, free: 15.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.7969, allocations: 48 kB / 0.6362 GB, free: 15.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.7971, allocations: 394.7 kB / 0.6365 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002487/0.7996, allocations: 1.547 MB / 0.638 GB, free: 13.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/0.8023, allocations: 1.821 MB / 0.6398 GB, free: 12.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00524/0.8075, allocations: 3.486 MB / 0.6432 GB, free: 8.504 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.8076, allocations: 0 / 0.6432 GB, free: 8.504 MB / 442.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.01128/0.8189, allocations: 4.474 MB / 0.6476 GB, free: 4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.8189, allocations: 8 kB / 0.6476 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/0.819, allocations: 4 kB / 0.6476 GB, free: 3.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005353/0.8243, allocations: 0.8088 MB / 0.6484 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/0.8274, allocations: 0.5539 MB / 0.6489 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.8397, allocations: 8.525 MB / 0.6573 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.8418, allocations: 107.8 kB / 0.6574 GB, free: 9.383 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003769/0.8422, allocations: 99.89 kB / 0.6575 GB, free: 9.285 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (280): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 6,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001099/0.8433, allocations: 377.3 kB / 0.6578 GB, free: 8.906 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/0.8438, allocations: 150.2 kB / 0.658 GB, free: 8.758 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/0.8554, allocations: 4.696 MB / 0.6625 GB, free: 4.031 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/0.8554, allocations: 32 kB / 0.6626 GB, free: 4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.8555, allocations: 0 / 0.6626 GB, free: 4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.592e-05/0.8555, allocations: 11.95 kB / 0.6626 GB, free: 3.988 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/0.8736, allocations: 9.717 MB / 0.6721 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/0.8737, allocations: 9 kB / 0.6721 GB, free: 10.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/0.8763, allocations: 0.5344 MB / 0.6726 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005244/0.8816, allocations: 0.8126 MB / 0.6734 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002734/0.8819, allocations: 83.95 kB / 0.6735 GB, free: 8.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2172/1.099, allocations: 8.444 MB / 0.6817 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.585e-05/1.099, allocations: 13 kB / 0.6817 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/1.114, allocations: 6.903 MB / 0.6885 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005496/1.115, allocations: 232.9 kB / 0.6887 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004444/1.115, allocations: 60.84 kB / 0.6888 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.117, allocations: 102.7 kB / 0.6889 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004053/1.117, allocations: 218.2 kB / 0.6891 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/1.118, allocations: 96.89 kB / 0.6892 GB, free: 101.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008535/1.118, allocations: 0.5803 MB / 0.6897 GB, free: 101.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.118, allocations: 4.016 kB / 0.6897 GB, free: 101.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004069/1.123, allocations: 1.209 MB / 0.6909 GB, free: 101.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 8 (solution1.temperature,H_.logn,OH_.logn,H2O_.logn,solution.temperature,H3O.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 (274): * Single equations (assignments): 268 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 6,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002419/1.125, allocations: 1.281 MB / 0.6922 GB, free: 100.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006374/1.131, allocations: 4.164 MB / 0.6962 GB, free: 100.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.131, allocations: 3.406 kB / 0.6962 GB, free: 100.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003414/1.135, allocations: 2.435 MB / 0.6986 GB, free: 100 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004149/1.139, allocations: 364.2 kB / 0.699 GB, free: 100 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00778/1.147, allocations: 5.23 MB / 0.7041 GB, free: 97.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008969/1.148, allocations: 1.352 MB / 0.7054 GB, free: 97.17 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001601/1.149, allocations: 306 kB / 0.7057 GB, free: 97.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/1.15, allocations: 182.3 kB / 0.7059 GB, free: 97.12 MB / 474.7 MB Notification: Performance of SimCode: time 9.71e-07/1.15, allocations: 0 / 0.7059 GB, free: 97.12 MB / 474.7 MB Notification: Performance of Templates: time 0.05952/1.209, allocations: 45.39 MB / 0.7502 GB, free: 94.71 MB / 474.7 MB make -j1 -f Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.makefile (rm -f Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_Chemical.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe 2>&1)