Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1005/0.1005, allocations: 15.28 MB / 30.53 MB, free: 3.074 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009993/0.0009998, allocations: 194.3 kB / 35.63 MB, free: 2.227 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.7 MB / 266.3 MB, free: 6.102 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000875/0.0008752, allocations: 99.62 kB / 321.7 MB, free: 2.195 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 8.438 kB / 387 MB, free: 50.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.09976, allocations: 54.64 MB / 441.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.WaterSelfIonization): time 0.008867/0.1087, allocations: 8.487 MB / 450.2 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02947/0.1382, allocations: 29.79 MB / 479.9 MB, free: 6.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.1397, allocations: 31.75 kB / 480 MB, free: 6.672 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.141, allocations: 457.3 kB / 480.4 MB, free: 6.223 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00581/0.1469, allocations: 1.832 MB / 482.3 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008044/0.1549, allocations: 2.642 MB / 484.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00349/0.1584, allocations: 2.364 MB / 487.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.16, allocations: 1.143 MB / 488.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.1615, allocations: 1.071 MB / 489.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.1632, allocations: 1.242 MB / 490.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002668/0.1635, allocations: 116 kB / 490.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007758/0.1713, allocations: 2.421 MB / 493.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005795/0.1719, allocations: 414.5 kB / 493.7 MB, free: 8.891 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.1734, allocations: 0.9891 MB / 494.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.1859, allocations: 4.631 MB / 499.3 MB, free: 3.242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1859, allocations: 0 / 499.3 MB, free: 3.242 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.1859, allocations: 0 / 499.3 MB, free: 3.242 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.518e-05/0.186, allocations: 0 / 499.3 MB, free: 3.242 MB / 362.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.004743/0.1907, allocations: 2.192 MB / 0.4897 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1908, allocations: 13.72 kB / 0.4897 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.1925, allocations: 417.9 kB / 0.4901 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.194, allocations: 0.8929 MB / 0.491 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.1941, allocations: 191.5 kB / 0.4912 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.1944, allocations: 180.3 kB / 0.4914 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003389/0.1978, allocations: 2.077 MB / 0.4934 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.1979, allocations: 4 kB / 0.4934 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.198, allocations: 68 kB / 0.4935 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.1981, allocations: 44 kB / 0.4935 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004047/0.2021, allocations: 2.596 MB / 0.496 GB, free: 10.45 MB / 378.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.0103/0.2125, allocations: 6.587 MB / 0.5025 GB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00456/0.217, allocations: 3.117 MB / 0.5055 GB, free: 332 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2382/0.4553, allocations: 0.9018 MB / 0.5064 GB, free: 70.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.4658, allocations: 7.985 MB / 0.5142 GB, free: 65.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.4659, allocations: 53.66 kB / 0.5142 GB, free: 65.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=144): time 3.176e-06/0.4659, allocations: 0 / 0.5142 GB, free: 65.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=180): time 0.02966/0.4956, allocations: 7.063 MB / 0.5211 GB, free: 63.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.4956, allocations: 96.64 kB / 0.5212 GB, free: 63.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.4967, allocations: 0.7814 MB / 0.522 GB, free: 63.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.4968, allocations: 55.14 kB / 0.522 GB, free: 63.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.4972, allocations: 0.7373 MB / 0.5228 GB, free: 63.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004157/0.4976, allocations: 0.6128 MB / 0.5234 GB, free: 62.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.4977, allocations: 40.16 kB / 0.5234 GB, free: 62.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4979, allocations: 385 kB / 0.5238 GB, free: 62.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.499, allocations: 0.6127 MB / 0.5244 GB, free: 62.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.5003, allocations: 1.122 MB / 0.5255 GB, free: 61.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/0.5027, allocations: 1.9 MB / 0.5273 GB, free: 59.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.5027, allocations: 4.406 kB / 0.5273 GB, free: 59.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007318/0.5101, allocations: 2.482 MB / 0.5297 GB, free: 59.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.5101, allocations: 13.72 kB / 0.5298 GB, free: 59.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.5101, allocations: 15.19 kB / 0.5298 GB, free: 59.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003932/0.5141, allocations: 0.4903 MB / 0.5302 GB, free: 58.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/0.5164, allocations: 0.5221 MB / 0.5308 GB, free: 58.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008961/0.5253, allocations: 6.985 MB / 0.5376 GB, free: 52.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.5269, allocations: 99.88 kB / 0.5377 GB, free: 52.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.5271, allocations: 105.6 kB / 0.5378 GB, free: 52.61 MB / 378.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.000586/0.5277, allocations: 366.6 kB / 0.5381 GB, free: 52.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.5279, allocations: 138.1 kB / 0.5383 GB, free: 52.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007032/0.5349, allocations: 2.447 MB / 0.5406 GB, free: 51.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.535, allocations: 19.47 kB / 0.5407 GB, free: 51.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.535, allocations: 4 kB / 0.5407 GB, free: 51.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.535, allocations: 15.89 kB / 0.5407 GB, free: 51.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.5468, allocations: 4.085 MB / 0.5447 GB, free: 48.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.5468, allocations: 4 kB / 0.5447 GB, free: 48.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/0.5496, allocations: 391.9 kB / 0.5451 GB, free: 48.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005135/0.5547, allocations: 485.6 kB / 0.5455 GB, free: 48.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002089/0.5549, allocations: 53.69 kB / 0.5456 GB, free: 48.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.5657, allocations: 6.815 MB / 0.5522 GB, free: 41.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5657, allocations: 0 / 0.5522 GB, free: 41.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/0.5763, allocations: 3.142 MB / 0.5553 GB, free: 38.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.5768, allocations: 195.3 kB / 0.5555 GB, free: 38.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.5771, allocations: 39.94 kB / 0.5555 GB, free: 38.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.5784, allocations: 67.91 kB / 0.5556 GB, free: 38.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/0.5788, allocations: 137.8 kB / 0.5557 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/0.579, allocations: 71.97 kB / 0.5558 GB, free: 38.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007117/0.5797, allocations: 0.4923 MB / 0.5563 GB, free: 37.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5797, allocations: 4 kB / 0.5563 GB, free: 37.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003922/0.5836, allocations: 1.023 MB / 0.5573 GB, free: 36.62 MB / 378.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.002291/0.5859, allocations: 1.12 MB / 0.5584 GB, free: 35.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004336/0.5903, allocations: 2.235 MB / 0.5605 GB, free: 33.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5903, allocations: 0 / 0.5605 GB, free: 33.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.5925, allocations: 1.386 MB / 0.5619 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.5946, allocations: 280.6 kB / 0.5622 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/0.6006, allocations: 4.027 MB / 0.5661 GB, free: 27.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007437/0.6014, allocations: 1.283 MB / 0.5673 GB, free: 26.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002325/0.6037, allocations: 364.2 kB / 0.5677 GB, free: 26.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006729/0.6044, allocations: 235.3 kB / 0.5679 GB, free: 25.81 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6044, allocations: 0 / 0.5679 GB, free: 25.81 MB / 378.7 MB Notification: Performance of Templates: time 0.06646/0.6709, allocations: 35.7 MB / 0.6028 GB, free: 6.223 MB / 394.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)