Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 209.1 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1355/0.1355, allocations: 23.88 MB / 337.1 MB, free: 10.99 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.89 kB / 472.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2916, allocations: 59.87 MB / 0.5198 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007293/0.2989, allocations: 7.442 MB / 0.527 GB, free: 4.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02681/0.3257, allocations: 21.31 MB / 0.5478 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.3272, allocations: 29.34 kB / 0.5479 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.3288, allocations: 468.6 kB / 0.5483 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007709/0.3365, allocations: 2.153 MB / 0.5504 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008945/0.3454, allocations: 3.075 MB / 0.5534 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003649/0.3491, allocations: 2.434 MB / 0.5558 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.3507, allocations: 1.142 MB / 0.5569 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.3523, allocations: 1.231 MB / 0.5581 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.3543, allocations: 1.365 MB / 0.5594 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003867/0.3547, allocations: 215.7 kB / 0.5596 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008003/0.3627, allocations: 2.587 MB / 0.5622 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008506/0.3636, allocations: 0.5157 MB / 0.5627 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.3653, allocations: 0.9116 MB / 0.5636 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.3775, allocations: 5.241 MB / 0.5687 GB, free: 7.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3775, allocations: 0 / 0.5687 GB, free: 7.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3775, allocations: 0 / 0.5687 GB, free: 7.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.569e-05/0.3776, allocations: 0 / 0.5687 GB, free: 7.535 MB / 414.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.005599/0.3832, allocations: 2.635 MB / 0.5713 GB, free: 4.855 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3832, allocations: 12.03 kB / 0.5713 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/0.3852, allocations: 423 kB / 0.5717 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.387, allocations: 0.9021 MB / 0.5726 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.3873, allocations: 242.9 kB / 0.5728 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004064/0.3877, allocations: 192.2 kB / 0.573 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003788/0.3914, allocations: 2.093 MB / 0.575 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.3915, allocations: 0 / 0.575 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/0.3917, allocations: 72 kB / 0.5751 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/0.3917, allocations: 40 kB / 0.5751 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004407/0.3961, allocations: 2.581 MB / 0.5776 GB, free: 14.23 MB / 430.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.0109/0.407, allocations: 5.246 MB / 0.5828 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004838/0.4119, allocations: 2.527 MB / 0.5852 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.4133, allocations: 0.8311 MB / 0.586 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009933/0.4232, allocations: 4.252 MB / 0.5902 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.4233, allocations: 51.88 kB / 0.5902 GB, free: 1.164 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.337e-06/0.4233, allocations: 0 / 0.5902 GB, free: 1.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.0334/0.4567, allocations: 6.731 MB / 0.5968 GB, free: 10.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.4567, allocations: 99.11 kB / 0.5969 GB, free: 10.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009782/0.4577, allocations: 0.7509 MB / 0.5976 GB, free: 9.488 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.4579, allocations: 57.7 kB / 0.5977 GB, free: 9.426 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005756/0.4585, allocations: 0.7584 MB / 0.5984 GB, free: 8.656 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000613/0.4591, allocations: 0.643 MB / 0.5991 GB, free: 8.008 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005918/0.4597, allocations: 359.5 kB / 0.5994 GB, free: 7.648 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4599, allocations: 357.9 kB / 0.5998 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.461, allocations: 0.617 MB / 0.6004 GB, free: 6.672 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.4627, allocations: 1.137 MB / 0.6015 GB, free: 5.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.4657, allocations: 1.913 MB / 0.6033 GB, free: 3.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.4657, allocations: 4 kB / 0.6033 GB, free: 3.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008296/0.474, allocations: 2.467 MB / 0.6057 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.474, allocations: 12 kB / 0.6058 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.474, allocations: 19.98 kB / 0.6058 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004531/0.4786, allocations: 467.7 kB / 0.6062 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/0.4812, allocations: 0.5188 MB / 0.6067 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.493, allocations: 7.143 MB / 0.6137 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.4945, allocations: 63.98 kB / 0.6138 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.4947, allocations: 99.98 kB / 0.6139 GB, free: 7.973 MB / 462.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.00076/0.4955, allocations: 373.2 kB / 0.6142 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003499/0.4958, allocations: 135.1 kB / 0.6143 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008708/0.5045, allocations: 2.425 MB / 0.6167 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.5046, allocations: 20 kB / 0.6167 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5046, allocations: 0 / 0.6167 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/0.5046, allocations: 11.95 kB / 0.6167 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.515, allocations: 3.609 MB / 0.6203 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.515, allocations: 4 kB / 0.6203 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/0.5173, allocations: 391.5 kB / 0.6206 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004386/0.5217, allocations: 466.8 kB / 0.6211 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/0.5218, allocations: 55.97 kB / 0.6211 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.5328, allocations: 6.957 MB / 0.6279 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5328, allocations: 0 / 0.6279 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00913/0.5419, allocations: 3.132 MB / 0.631 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.5423, allocations: 119 kB / 0.6311 GB, free: 5.785 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.5424, allocations: 35.94 kB / 0.6311 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009954/0.5434, allocations: 39.98 kB / 0.6312 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003491/0.5438, allocations: 145.7 kB / 0.6313 GB, free: 5.566 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.5439, allocations: 63.97 kB / 0.6314 GB, free: 5.504 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000648/0.5446, allocations: 471 kB / 0.6318 GB, free: 5.039 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5446, allocations: 3.938 kB / 0.6318 GB, free: 5.035 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003259/0.5479, allocations: 1.072 MB / 0.6329 GB, free: 3.961 MB / 478.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.002357/0.5502, allocations: 1.168 MB / 0.634 GB, free: 2.781 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004342/0.5546, allocations: 2.144 MB / 0.6361 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.5546, allocations: 3.938 kB / 0.6361 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002569/0.5571, allocations: 1.306 MB / 0.6374 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.5588, allocations: 314 kB / 0.6377 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005969/0.5648, allocations: 3.184 MB / 0.6408 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007873/0.5656, allocations: 0.6969 MB / 0.6415 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001416/0.567, allocations: 342.2 kB / 0.6418 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005983/0.5676, allocations: 239.2 kB / 0.642 GB, free: 10.41 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5676, allocations: 0 / 0.642 GB, free: 10.41 MB / 494.1 MB Notification: Performance of Templates: time 0.06394/0.6315, allocations: 40.99 MB / 0.6821 GB, free: 1.73 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.452761467997334] Failed to read output from testmodel.py, exit status != 0: 0.6414659959991695 0.655567065 0.274851111 Calling exit ...