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.1139/0.1139, allocations: 15.25 MB / 27.81 MB, free: 5.406 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.00112/0.00112, allocations: 184.4 kB / 32.7 MB, free: 0.5273 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.424/1.424, allocations: 221.4 MB / 258.8 MB, free: 64 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009611/0.0009614, allocations: 100.4 kB / 314 MB, free: 15.77 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.372e-05/4.382e-05, allocations: 4 kB / 376.5 MB, free: 1.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4282, allocations: 54.6 MB / 431.1 MB, free: 50.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.5732, allocations: 100.1 MB / 0.5187 GB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.5735, allocations: 67.97 kB / 0.5188 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.453/1.027, allocations: 68.74 MB / 0.5859 GB, free: 89.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.674e-06/1.027, allocations: 1.375 kB / 0.5859 GB, free: 89.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.239e-05/1.027, allocations: 34.92 kB / 0.5859 GB, free: 89.96 MB / 442.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.004964/1.032, allocations: 2.068 MB / 0.588 GB, free: 89.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.032, allocations: 9.625 kB / 0.588 GB, free: 89.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/1.034, allocations: 476.9 kB / 0.5884 GB, free: 88.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/1.037, allocations: 1.07 MB / 0.5895 GB, free: 88.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/1.037, allocations: 191.7 kB / 0.5897 GB, free: 88.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005841/1.037, allocations: 183.2 kB / 0.5898 GB, free: 88.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006891/1.044, allocations: 3.007 MB / 0.5928 GB, free: 88.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/1.044, allocations: 1.844 kB / 0.5928 GB, free: 88.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/1.045, allocations: 68.5 kB / 0.5928 GB, free: 88.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.953e-05/1.045, allocations: 45.16 kB / 0.5929 GB, free: 88.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005733/1.05, allocations: 4.263 MB / 0.597 GB, free: 88.4 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01461/1.065, allocations: 8.784 MB / 0.6056 GB, free: 86.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00565/1.071, allocations: 4.024 MB / 0.6095 GB, free: 85.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/1.072, allocations: 1.522 MB / 0.611 GB, free: 85.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007489/1.073, allocations: 0.49 MB / 0.6115 GB, free: 85.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/1.073, allocations: 52.38 kB / 0.6116 GB, free: 85.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=204): time 5.099e-06/1.073, allocations: 2.094 kB / 0.6116 GB, free: 85.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=286): time 0.04488/1.118, allocations: 13.89 MB / 0.6251 GB, free: 80.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01133/1.129, allocations: 5.503 MB / 0.6305 GB, free: 76.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008606/1.13, allocations: 0.7441 MB / 0.6312 GB, free: 76.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005417/1.131, allocations: 71.31 kB / 0.6313 GB, free: 76.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/1.131, allocations: 0.5793 MB / 0.6319 GB, free: 76.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007303/1.132, allocations: 0.9469 MB / 0.6328 GB, free: 75.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/1.132, allocations: 50.5 kB / 0.6328 GB, free: 75.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/1.132, allocations: 401.5 kB / 0.6332 GB, free: 74.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/1.134, allocations: 1.783 MB / 0.635 GB, free: 74.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/1.136, allocations: 2.052 MB / 0.637 GB, free: 73.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/1.139, allocations: 1.944 MB / 0.6389 GB, free: 72.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/1.139, allocations: 3.469 kB / 0.6389 GB, free: 72.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.009742/1.148, allocations: 4.956 MB / 0.6437 GB, free: 70.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/1.148, allocations: 7.219 kB / 0.6437 GB, free: 70.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.148, allocations: 10.58 kB / 0.6437 GB, free: 70.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004713/1.153, allocations: 0.7636 MB / 0.6445 GB, free: 70.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/1.156, allocations: 0.5909 MB / 0.645 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009944/1.166, allocations: 8.447 MB / 0.6533 GB, free: 63.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/1.17, allocations: 264.5 kB / 0.6535 GB, free: 63.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005925/1.17, allocations: 117.8 kB / 0.6537 GB, free: 63.01 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 282 * Array equations: 4 * 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.0007145/1.171, allocations: 241.3 kB / 0.6539 GB, free: 62.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005347/1.171, allocations: 154.2 kB / 0.654 GB, free: 62.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/1.186, allocations: 5.669 MB / 0.6596 GB, free: 60.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01263/1.199, allocations: 5.112 MB / 0.6646 GB, free: 56.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.621e-05/1.199, allocations: 0.9375 kB / 0.6646 GB, free: 56.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.006e-05/1.199, allocations: 18.53 kB / 0.6646 GB, free: 56.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02345/1.222, allocations: 12.18 MB / 0.6765 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.396e-05/1.223, allocations: 12 kB / 0.6765 GB, free: 45.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/1.225, allocations: 0.5424 MB / 0.677 GB, free: 45.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009132/1.234, allocations: 1.518 MB / 0.6785 GB, free: 44.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006511/1.235, allocations: 97.58 kB / 0.6786 GB, free: 44.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01573/1.251, allocations: 11.47 MB / 0.6898 GB, free: 33.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01019/1.261, allocations: 4.753 MB / 0.6944 GB, free: 28.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01715/1.278, allocations: 8.585 MB / 0.7028 GB, free: 20.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008471/1.279, allocations: 257.8 kB / 0.7031 GB, free: 20.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006505/1.28, allocations: 79.88 kB / 0.7031 GB, free: 20.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/1.282, allocations: 176.1 kB / 0.7033 GB, free: 20.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007518/1.283, allocations: 258.9 kB / 0.7036 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003531/1.283, allocations: 109 kB / 0.7037 GB, free: 19.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007592/1.284, allocations: 0.5821 MB / 0.7042 GB, free: 19.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.284, allocations: 0 / 0.7042 GB, free: 19.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005335/1.289, allocations: 1.495 MB / 0.7057 GB, free: 17.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 8 ($STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 266 * 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,5 8,1 6,5 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.003369/1.293, allocations: 1.286 MB / 0.7069 GB, free: 16.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006438/1.299, allocations: 4.618 MB / 0.7115 GB, free: 12.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.299, allocations: 4 kB / 0.7115 GB, free: 12.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004188/1.304, allocations: 2.948 MB / 0.7143 GB, free: 9.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/1.306, allocations: 331.5 kB / 0.7147 GB, free: 9.191 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/1.317, allocations: 5.018 MB / 0.7196 GB, free: 3.969 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.318, allocations: 1.475 MB / 0.721 GB, free: 2.461 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001952/1.32, allocations: 357.6 kB / 0.7213 GB, free: 2.121 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008656/1.321, allocations: 203.3 kB / 0.7215 GB, free: 1.922 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/1.321, allocations: 0 / 0.7215 GB, free: 1.922 MB / 442.7 MB Notification: Performance of Templates: time 0.334/1.655, allocations: 51.51 MB / 0.7718 GB, free: 108.7 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)