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.1097/0.1097, allocations: 15.26 MB / 30.21 MB, free: 3.297 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.001041/0.001041, allocations: 185.1 kB / 35.3 MB, free: 2.375 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.383/1.383, allocations: 223.2 MB / 263.4 MB, free: 6.492 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.0009011/0.000901, allocations: 98.97 kB / 318.8 MB, free: 3.441 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 8.875 kB / 383.9 MB, free: 50.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09747, allocations: 54.64 MB / 438.6 MB, free: 400 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3307/0.4282, allocations: 100.1 MB / 0.5261 GB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.4285, allocations: 72.67 kB / 0.5261 GB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1605/0.589, allocations: 68.97 MB / 0.5935 GB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.84e-06/0.589, allocations: 0 / 0.5935 GB, free: 10.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.774e-05/0.5891, allocations: 39.94 kB / 0.5935 GB, free: 10.71 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.005607/0.5947, allocations: 2.182 MB / 0.5957 GB, free: 8.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5948, allocations: 8.031 kB / 0.5957 GB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.5969, allocations: 471.3 kB / 0.5961 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.5992, allocations: 1.07 MB / 0.5972 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.5994, allocations: 192.9 kB / 0.5973 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003787/0.5998, allocations: 188 kB / 0.5975 GB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004169/0.604, allocations: 3.037 MB / 0.6005 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.604, allocations: 0 / 0.6005 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.6042, allocations: 71.98 kB / 0.6006 GB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.6042, allocations: 44 kB / 0.6006 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005095/0.6093, allocations: 4.326 MB / 0.6048 GB, free: 15.71 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.0125/0.6218, allocations: 8.79 MB / 0.6134 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004958/0.6268, allocations: 4.055 MB / 0.6174 GB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/0.6275, allocations: 0.4928 MB / 0.6179 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.6276, allocations: 60.5 kB / 0.6179 GB, free: 1.895 MB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 3.828e-06/0.6276, allocations: 0 / 0.6179 GB, free: 1.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=270): time 0.04302/0.6706, allocations: 13.7 MB / 0.6313 GB, free: 4.039 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.6707, allocations: 111.7 kB / 0.6314 GB, free: 3.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009444/0.6717, allocations: 0.7461 MB / 0.6321 GB, free: 3.156 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.6719, allocations: 69.7 kB / 0.6322 GB, free: 3.082 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.6723, allocations: 0.5721 MB / 0.6327 GB, free: 2.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008017/0.6731, allocations: 0.8931 MB / 0.6336 GB, free: 1.594 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.6733, allocations: 48 kB / 0.6337 GB, free: 1.547 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.6734, allocations: 402.7 kB / 0.6341 GB, free: 1.148 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/0.6755, allocations: 1.539 MB / 0.6356 GB, free: 15.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/0.6778, allocations: 1.817 MB / 0.6373 GB, free: 13.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.6801, allocations: 1.688 MB / 0.639 GB, free: 12.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6801, allocations: 0 / 0.639 GB, free: 12.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.01172/0.6918, allocations: 4.47 MB / 0.6433 GB, free: 7.527 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.6919, allocations: 6.5 kB / 0.6433 GB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.6919, allocations: 8.625 kB / 0.6434 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006201/0.6981, allocations: 0.8047 MB / 0.6441 GB, free: 6.691 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/0.7014, allocations: 0.5617 MB / 0.6447 GB, free: 6.129 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.7143, allocations: 8.603 MB / 0.6531 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/0.7167, allocations: 99.92 kB / 0.6532 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.7169, allocations: 99.95 kB / 0.6533 GB, free: 12.74 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.001015/0.7179, allocations: 385.3 kB / 0.6537 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/0.7184, allocations: 150.2 kB / 0.6538 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.7308, allocations: 4.708 MB / 0.6584 GB, free: 7.461 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/0.7309, allocations: 28 kB / 0.6584 GB, free: 7.434 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.7309, allocations: 4 kB / 0.6584 GB, free: 7.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.007e-05/0.731, allocations: 15.94 kB / 0.6584 GB, free: 7.414 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/0.7496, allocations: 9.707 MB / 0.6679 GB, free: 13.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/0.7497, allocations: 8 kB / 0.6679 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002796/0.7525, allocations: 0.5309 MB / 0.6684 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006221/0.7587, allocations: 0.8086 MB / 0.6692 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003883/0.7591, allocations: 75.97 kB / 0.6693 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/0.7712, allocations: 8.515 MB / 0.6776 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.7713, allocations: 20.36 kB / 0.6776 GB, free: 2.945 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2369/1.008, allocations: 7.331 MB / 0.6848 GB, free: 102.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008178/1.009, allocations: 236.9 kB / 0.685 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003351/1.009, allocations: 66.36 kB / 0.6851 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.011, allocations: 99.28 kB / 0.6852 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/1.011, allocations: 219.6 kB / 0.6854 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/1.012, allocations: 95.72 kB / 0.6855 GB, free: 102.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008377/1.012, allocations: 0.5831 MB / 0.6861 GB, free: 102.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.012, allocations: 0 / 0.6861 GB, free: 102.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004748/1.017, allocations: 1.213 MB / 0.6872 GB, free: 102.5 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.00257/1.02, allocations: 1.29 MB / 0.6885 GB, free: 102.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00592/1.026, allocations: 4.152 MB / 0.6926 GB, free: 101.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.026, allocations: 1.531 kB / 0.6926 GB, free: 101.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0034/1.029, allocations: 2.44 MB / 0.6949 GB, free: 101.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/1.031, allocations: 321.6 kB / 0.6952 GB, free: 101.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006794/1.038, allocations: 5.222 MB / 0.7003 GB, free: 99.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009872/1.039, allocations: 1.387 MB / 0.7017 GB, free: 98.58 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001548/1.04, allocations: 311.7 kB / 0.702 GB, free: 98.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/1.041, allocations: 183.4 kB / 0.7022 GB, free: 98.53 MB / 474.7 MB Notification: Performance of SimCode: time 1.553e-06/1.041, allocations: 0 / 0.7022 GB, free: 98.53 MB / 474.7 MB Notification: Performance of Templates: time 0.05965/1.101, allocations: 44.44 MB / 0.7456 GB, free: 96.17 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)