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: "" <> buildModelFMU(Chemical.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_WaterSelfIonization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_WaterSelfIonization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1088/0.1088, 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.0009921/0.0009919, allocations: 185.2 kB / 35.3 MB, free: 2.379 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.624/1.624, allocations: 223.2 MB / 263.4 MB, free: 7.086 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.0009934/0.0009936, allocations: 99.33 kB / 318.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003389, allocations: 7.953 kB / 384 MB, free: 50.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1127, allocations: 54.64 MB / 438.7 MB, free: 368 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5652, allocations: 100.1 MB / 0.5262 GB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.5654, allocations: 70.16 kB / 0.5262 GB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1601/0.7255, allocations: 68.96 MB / 0.5936 GB, free: 10.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.7256, allocations: 4 kB / 0.5936 GB, free: 10.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.413e-05/0.7257, allocations: 47.92 kB / 0.5936 GB, free: 10.49 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.005902/0.7316, allocations: 2.181 MB / 0.5957 GB, free: 8.375 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.7317, allocations: 8.031 kB / 0.5958 GB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004693/0.7321, allocations: 254.7 kB / 0.596 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.7341, allocations: 477.5 kB / 0.5965 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.7364, allocations: 1.067 MB / 0.5975 GB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.7366, allocations: 193.3 kB / 0.5977 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/0.7369, allocations: 179.3 kB / 0.5979 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004535/0.7414, allocations: 3.046 MB / 0.6008 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.7415, allocations: 0 / 0.6008 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.7416, allocations: 68 kB / 0.6009 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.7417, allocations: 51.95 kB / 0.6009 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005397/0.7471, allocations: 4.318 MB / 0.6052 GB, free: 15.42 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.01339/0.7605, allocations: 8.774 MB / 0.6137 GB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006154/0.7667, allocations: 4.06 MB / 0.6177 GB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.7677, allocations: 0.4889 MB / 0.6182 GB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.7678, allocations: 60.52 kB / 0.6182 GB, free: 1.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 5.581e-06/0.7678, allocations: 0 / 0.6182 GB, free: 1.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=270): time 0.04808/0.8159, allocations: 13.71 MB / 0.6316 GB, free: 3.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.816, allocations: 103.7 kB / 0.6317 GB, free: 3.629 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.8171, allocations: 0.7461 MB / 0.6324 GB, free: 2.875 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005081/0.8176, allocations: 69.7 kB / 0.6325 GB, free: 2.801 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.818, allocations: 0.5721 MB / 0.6331 GB, free: 2.219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008849/0.8189, allocations: 0.9085 MB / 0.634 GB, free: 1.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.8191, allocations: 44 kB / 0.634 GB, free: 1.254 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.8193, allocations: 398.7 kB / 0.6344 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.8215, allocations: 1.547 MB / 0.6359 GB, free: 15.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/0.8239, allocations: 1.81 MB / 0.6377 GB, free: 13.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.8263, allocations: 1.688 MB / 0.6393 GB, free: 11.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.8263, allocations: 4 kB / 0.6393 GB, free: 11.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.01179/0.8381, allocations: 4.454 MB / 0.6437 GB, free: 7.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.8382, allocations: 10.03 kB / 0.6437 GB, free: 7.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.8382, allocations: 4.625 kB / 0.6437 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006197/0.8444, allocations: 0.8203 MB / 0.6445 GB, free: 6.398 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/0.848, allocations: 0.5617 MB / 0.645 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/0.8621, allocations: 8.6 MB / 0.6534 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/0.8652, allocations: 107.9 kB / 0.6535 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003314/0.8656, allocations: 95.89 kB / 0.6536 GB, free: 12.45 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.001161/0.8667, allocations: 381.3 kB / 0.654 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.8671, allocations: 154.2 kB / 0.6541 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/0.8797, allocations: 4.7 MB / 0.6587 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.215e-05/0.8798, allocations: 36.12 kB / 0.6587 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/0.8798, allocations: 0 / 0.6587 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.488e-05/0.8799, allocations: 15.94 kB / 0.6588 GB, free: 7.125 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/0.9002, allocations: 9.71 MB / 0.6682 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-05/0.9002, allocations: 8 kB / 0.6683 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002956/0.9032, allocations: 0.531 MB / 0.6688 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006283/0.9095, allocations: 0.8047 MB / 0.6696 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006338/0.9102, allocations: 87.95 kB / 0.6696 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/0.9225, allocations: 8.515 MB / 0.678 GB, free: 2.664 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.9225, allocations: 11.94 kB / 0.678 GB, free: 2.652 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3124/1.235, allocations: 7.332 MB / 0.6851 GB, free: 102.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/1.235, allocations: 235.8 kB / 0.6854 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/1.236, allocations: 56.91 kB / 0.6854 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.237, allocations: 104.2 kB / 0.6855 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003764/1.238, allocations: 218.7 kB / 0.6857 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/1.238, allocations: 100.3 kB / 0.6858 GB, free: 102.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007393/1.239, allocations: 0.585 MB / 0.6864 GB, free: 102.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.239, allocations: 1.375 kB / 0.6864 GB, free: 102.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004012/1.243, allocations: 1.204 MB / 0.6876 GB, free: 102.2 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.02001/1.263, allocations: 11.61 MB / 0.6989 GB, free: 97.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009011/1.272, allocations: 4.165 MB / 0.703 GB, free: 97.37 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.912e-05/1.272, allocations: 6.781 kB / 0.703 GB, free: 97.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003564/1.275, allocations: 2.437 MB / 0.7054 GB, free: 96.92 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/1.277, allocations: 323.7 kB / 0.7057 GB, free: 96.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.287, allocations: 10.12 MB / 0.7155 GB, free: 90.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008037/1.288, allocations: 1.388 MB / 0.7169 GB, free: 89.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001458/1.29, allocations: 317.5 kB / 0.7172 GB, free: 89.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009932/1.291, allocations: 0.7571 MB / 0.7179 GB, free: 89.63 MB / 474.7 MB Notification: Performance of SimCode: time 1.293e-06/1.291, allocations: 0 / 0.7179 GB, free: 89.63 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08434/1.375, allocations: 58.37 MB / 0.7749 GB, free: 71.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.375, allocations: 212.2 kB / 0.7751 GB, free: 71.45 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.316/5.691, allocations: 0 / 0.7751 GB, free: 71.45 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_AcidBase_WaterSelfIonization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_AcidBase_WaterSelfIonization.fmu > Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe 2>&1)