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.001477/0.001477, allocations: 112.6 kB / 16.42 MB, free: 6.492 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.001675/0.001675, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0738/0.0738, allocations: 15.3 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.91 kB / 425.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08284/0.08397, allocations: 53.61 MB / 479.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.WaterSelfIonization): time 0.00858/0.09258, allocations: 8.378 MB / 487.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02493/0.1175, allocations: 24.17 MB / 0.5 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009421/0.1185, allocations: 19.88 kB / 0.5 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.1197, allocations: 0.5079 MB / 0.5005 GB, free: 4.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.1243, allocations: 2.153 MB / 0.5026 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2226/0.3469, allocations: 2.996 MB / 0.5056 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003526/0.3504, allocations: 2.435 MB / 0.5079 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.352, allocations: 1.412 MB / 0.5093 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.3533, allocations: 1.209 MB / 0.5105 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.3549, allocations: 1.343 MB / 0.5118 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003297/0.3553, allocations: 215.1 kB / 0.512 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006787/0.3621, allocations: 2.655 MB / 0.5146 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.3625, allocations: 0.5119 MB / 0.5151 GB, free: 5.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.3636, allocations: 1.073 MB / 0.5162 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008702/0.3723, allocations: 5.082 MB / 0.5211 GB, free: 4.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3723, allocations: 0 / 0.5211 GB, free: 4.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3723, allocations: 4 kB / 0.5211 GB, free: 4.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.147e-05/0.3724, allocations: 5.344 kB / 0.5211 GB, free: 4.52 MB / 382.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.004994/0.3774, allocations: 2.638 MB / 0.5237 GB, free: 3.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3774, allocations: 13.66 kB / 0.5237 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.3792, allocations: 406.8 kB / 0.5241 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.3805, allocations: 0.9689 MB / 0.5251 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.3806, allocations: 184.8 kB / 0.5252 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000273/0.3809, allocations: 188.4 kB / 0.5254 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/0.3839, allocations: 2.088 MB / 0.5275 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.3839, allocations: 1.438 kB / 0.5275 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.3841, allocations: 70.88 kB / 0.5275 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.3842, allocations: 42.59 kB / 0.5276 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003359/0.3875, allocations: 2.608 MB / 0.5301 GB, free: 0.6758 MB / 382.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.009158/0.3967, allocations: 6.635 MB / 0.5366 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/0.4009, allocations: 3.13 MB / 0.5396 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.4022, allocations: 0.9247 MB / 0.5405 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.4129, allocations: 8.136 MB / 0.5485 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.4129, allocations: 55.88 kB / 0.5485 GB, free: 1.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=144): time 3.036e-06/0.4129, allocations: 0 / 0.5485 GB, free: 1.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.02854/0.4415, allocations: 7.002 MB / 0.5554 GB, free: 9.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.4416, allocations: 103.1 kB / 0.5555 GB, free: 9.824 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/0.4425, allocations: 0.7844 MB / 0.5562 GB, free: 9.016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.4426, allocations: 57.7 kB / 0.5563 GB, free: 8.953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.443, allocations: 0.7334 MB / 0.557 GB, free: 8.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.4435, allocations: 0.6113 MB / 0.5576 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000502/0.444, allocations: 363.3 kB / 0.558 GB, free: 7.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.4441, allocations: 302.2 kB / 0.5583 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.4451, allocations: 0.6131 MB / 0.5589 GB, free: 6.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.4465, allocations: 1.132 MB / 0.56 GB, free: 4.977 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/0.4491, allocations: 1.915 MB / 0.5618 GB, free: 2.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.4491, allocations: 12 kB / 0.5618 GB, free: 2.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007027/0.4561, allocations: 2.465 MB / 0.5642 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4562, allocations: 17.02 kB / 0.5643 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.4562, allocations: 16.88 kB / 0.5643 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003732/0.4599, allocations: 474.5 kB / 0.5647 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/0.4622, allocations: 0.5212 MB / 0.5652 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009923/0.4722, allocations: 7.672 MB / 0.5727 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.4735, allocations: 67.98 kB / 0.5728 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.4737, allocations: 108 kB / 0.5729 GB, free: 7.168 MB / 430.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.0007199/0.4744, allocations: 365.4 kB / 0.5732 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.4747, allocations: 138.3 kB / 0.5734 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007393/0.4821, allocations: 2.443 MB / 0.5758 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.616e-05/0.4822, allocations: 7.969 kB / 0.5758 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4822, allocations: 0 / 0.5758 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.4825, allocations: 195.3 kB / 0.576 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.4827, allocations: 32 kB / 0.576 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008618/0.4836, allocations: 39.98 kB / 0.576 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/0.4839, allocations: 157.7 kB / 0.5762 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006214/0.4901, allocations: 2.217 MB / 0.5783 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003981/0.4941, allocations: 2.737 MB / 0.581 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001109/0.4952, allocations: 0.7643 MB / 0.5818 GB, free: 14.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006174/0.4958, allocations: 0.5079 MB / 0.5823 GB, free: 13.58 MB / 446.1 MB Notification: Performance of Backend: time 2.8e-07/0.4958, allocations: 0 / 0.5823 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006264/0.5021, allocations: 3.065 MB / 0.5853 GB, free: 10.7 MB / 446.1 MB Notification: Performance of SimCode: time 0.004228/0.5063, allocations: 3.327 MB / 0.5885 GB, free: 7.34 MB / 446.1 MB Notification: Performance of Templates: time 0.05771/0.5641, allocations: 42.34 MB / 0.6299 GB, free: 13.19 MB / 494.1 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)