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/ModelicaServices 4.0.0+maint.om/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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 189.4 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.3926/0.3926, allocations: 15.31 MB / 305.4 MB, free: 15.3 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 71.88 kB / 369.8 MB, free: 4.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1626, allocations: 53.61 MB / 423.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.WaterSelfIonization): time 0.01087/0.1736, allocations: 9.511 MB / 433 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.383/0.5566, allocations: 23.87 MB / 456.8 MB, free: 36.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.5597, allocations: 37.25 kB / 456.9 MB, free: 36.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.562, allocations: 464.4 kB / 457.3 MB, free: 36.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009789/0.5719, allocations: 1.938 MB / 459.3 MB, free: 35.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01255/0.5845, allocations: 2.69 MB / 461.9 MB, free: 34.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004581/0.5891, allocations: 2.436 MB / 464.4 MB, free: 33.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.5911, allocations: 1.402 MB / 465.8 MB, free: 32.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.5932, allocations: 1.272 MB / 467.1 MB, free: 32.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.5958, allocations: 1.375 MB / 468.4 MB, free: 31.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004263/0.5963, allocations: 220.4 kB / 468.6 MB, free: 31.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/0.6093, allocations: 2.722 MB / 471.4 MB, free: 30.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.6105, allocations: 0.5216 MB / 471.9 MB, free: 30.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.6122, allocations: 1.086 MB / 473 MB, free: 29.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01806/0.6303, allocations: 4.853 MB / 477.8 MB, free: 27.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.6304, allocations: 0 / 477.8 MB, free: 27.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6304, allocations: 1.031 kB / 477.8 MB, free: 27.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.687e-05/0.6305, allocations: 0 / 477.8 MB, free: 27.79 MB / 366.1 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.008233/0.6387, allocations: 2.648 MB / 480.5 MB, free: 26.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.6388, allocations: 10.31 kB / 480.5 MB, free: 26.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.6409, allocations: 415.2 kB / 480.9 MB, free: 26.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.643, allocations: 0.9267 MB / 481.8 MB, free: 25.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.6432, allocations: 188.7 kB / 482 MB, free: 25.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003381/0.6435, allocations: 182.3 kB / 482.2 MB, free: 25.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004505/0.648, allocations: 2.092 MB / 484.3 MB, free: 24.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.6481, allocations: 1.125 kB / 484.3 MB, free: 24.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.6483, allocations: 71.06 kB / 484.3 MB, free: 24.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.308e-05/0.6483, allocations: 46.56 kB / 484.4 MB, free: 24.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/0.6531, allocations: 2.61 MB / 487 MB, free: 23.75 MB / 366.1 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.01409/0.6673, allocations: 6.652 MB / 493.7 MB, free: 19.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/0.6728, allocations: 3.132 MB / 496.8 MB, free: 18.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.6746, allocations: 0.9253 MB / 497.7 MB, free: 17.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/0.6871, allocations: 8.163 MB / 0.494 GB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.6872, allocations: 53.16 kB / 0.4941 GB, free: 11.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=144): time 3.476e-06/0.6872, allocations: 4 kB / 0.4941 GB, free: 11.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.03174/0.719, allocations: 6.986 MB / 0.5009 GB, free: 5.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.7191, allocations: 99.11 kB / 0.501 GB, free: 5.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009743/0.72, allocations: 0.7845 MB / 0.5018 GB, free: 4.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003322/0.7204, allocations: 57.7 kB / 0.5018 GB, free: 4.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.7207, allocations: 0.7405 MB / 0.5025 GB, free: 3.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004828/0.7212, allocations: 0.6084 MB / 0.5031 GB, free: 2.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/0.7217, allocations: 359.3 kB / 0.5035 GB, free: 2.445 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.7217, allocations: 301.1 kB / 0.5038 GB, free: 2.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009085/0.7227, allocations: 0.6208 MB / 0.5044 GB, free: 1.523 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.7239, allocations: 1.129 MB / 0.5055 GB, free: 172 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002812/0.7267, allocations: 1.921 MB / 0.5073 GB, free: 14.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.7267, allocations: 11.88 kB / 0.5074 GB, free: 14.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007894/0.7346, allocations: 2.463 MB / 0.5098 GB, free: 11.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.7347, allocations: 14.19 kB / 0.5098 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.7347, allocations: 16 kB / 0.5098 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004055/0.7388, allocations: 475.5 kB / 0.5102 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/0.7413, allocations: 0.5227 MB / 0.5108 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.7523, allocations: 7.683 MB / 0.5183 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.7545, allocations: 103.9 kB / 0.5184 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.7548, allocations: 108 kB / 0.5185 GB, free: 2.078 MB / 382.1 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.0009906/0.7558, allocations: 369.1 kB / 0.5188 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/0.7562, allocations: 134.3 kB / 0.5189 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007806/0.764, allocations: 2.441 MB / 0.5213 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/0.7641, allocations: 24 kB / 0.5213 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.7641, allocations: 3.938 kB / 0.5213 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.7641, allocations: 11.97 kB / 0.5214 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.7745, allocations: 4.087 MB / 0.5253 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.7745, allocations: 0 / 0.5253 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/0.7765, allocations: 387.5 kB / 0.5257 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003839/0.7804, allocations: 454.9 kB / 0.5262 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/0.7806, allocations: 55.98 kB / 0.5262 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009728/0.7903, allocations: 7.518 MB / 0.5335 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7903, allocations: 64 / 0.5335 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008459/0.7988, allocations: 3.139 MB / 0.5366 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005653/0.7994, allocations: 199.3 kB / 0.5368 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.7996, allocations: 32 kB / 0.5368 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000989/0.8006, allocations: 75.81 kB / 0.5369 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000341/0.8009, allocations: 137.8 kB / 0.537 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.8011, allocations: 63.98 kB / 0.5371 GB, free: 14.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006477/0.8017, allocations: 0.504 MB / 0.5376 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8017, allocations: 0 / 0.5376 GB, free: 13.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003479/0.8052, allocations: 1.062 MB / 0.5386 GB, free: 12.7 MB / 414.1 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.002187/0.8074, allocations: 1.139 MB / 0.5397 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004749/0.8122, allocations: 2.362 MB / 0.542 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8122, allocations: 0 / 0.542 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.8142, allocations: 1.396 MB / 0.5434 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.8158, allocations: 300.8 kB / 0.5437 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/0.8211, allocations: 3.925 MB / 0.5475 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.8219, allocations: 1.281 MB / 0.5488 GB, free: 2.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001536/0.8235, allocations: 355.3 kB / 0.5491 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005257/0.824, allocations: 246.2 kB / 0.5494 GB, free: 1.547 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.824, allocations: 3.938 kB / 0.5494 GB, free: 1.543 MB / 414.1 MB Notification: Performance of Templates: time 0.05928/0.8833, allocations: 37.39 MB / 0.5859 GB, free: 12.28 MB / 462.1 MB make -j1 -f Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.makefile Failed to read output from testmodel.py, exit status != 0: 0.8851593430154026 0.902100271 0.269432135 Traceback (most recent call last): File "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./testmodel.py", line 440, in resFile = "%s_res.%s" % (conf["fileName"], outputFormat if not shared.isFMPy(fmisimulator) else 'csv') File "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/shared.py", line 98, in isFMPy return 'fmpy' in fmisimulator TypeError: argument of type 'NoneType' is not iterable